Class SparseVector<T>

java.lang.Object
com.ibm.wala.util.collections.SparseVector<T>
All Implemented Interfaces:
IVector<T>, Serializable, Iterable<T>

public class SparseVector<T> extends Object implements IVector<T>, Serializable
An IVector 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

    • SparseVector

      public SparseVector()
    • SparseVector

      public SparseVector(int initialSize, float expansion)
  • Method Details