Class SparseIntVector
java.lang.Object
com.ibm.wala.util.intset.SparseIntVector
- All Implemented Interfaces:
IntVector
,Serializable
an int vector implementation designed for low occupancy. Note that get() from this vector is a
binary search.
This should only be used for small sets ... insertion and deletion are linear in size of set.
- See Also:
-
Constructor Details
-
SparseIntVector
public SparseIntVector(int defaultValue)
-
-
Method Details
-
get
-
set
-
performVerboseAction
public void performVerboseAction()- See Also:
-
getMaxIndex
public int getMaxIndex()- Specified by:
getMaxIndex
in interfaceIntVector
- Returns:
- max i s.t set(i) was called.
-