Package com.ibm.wala.util.collections
Class TwoLevelVector<T>
java.lang.Object
com.ibm.wala.util.collections.TwoLevelVector<T>
- All Implemented Interfaces:
IVector<T>
,Serializable
,Iterable<T>
An
IVector
implementation which delegates to pages of int vectors.- See Also:
-
Constructor Details
-
TwoLevelVector
public TwoLevelVector()
-
-
Method Details
-
get
-
set
Description copied from interface:IVector
TODO: this can be optimized -
performVerboseAction
public void performVerboseAction()- Specified by:
performVerboseAction
in interfaceIVector<T>
- See Also:
-
iterator
-
getMaxIndex
public int getMaxIndex()- Specified by:
getMaxIndex
in interfaceIVector<T>
- Returns:
- max i s.t get(i) != null
-