Class SparseLongIntVector
java.lang.Object
com.ibm.wala.util.intset.SparseLongIntVector
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.
In this optimizations, the indices are longs.
-
Constructor Details
-
SparseLongIntVector
public SparseLongIntVector(int defaultValue)
-
-
Method Details
-
get
public int get(long x) - See Also:
-
set
public void set(long x, int value) -
performVerboseAction
public void performVerboseAction()- See Also:
-