Class SparseIntVector

java.lang.Object
com.ibm.wala.util.intset.SparseIntVector
All Implemented Interfaces:
IntVector, Serializable

public class SparseIntVector extends Object implements 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