Package com.ibm.wala.util.intset
Class SimpleIntVector
java.lang.Object
com.ibm.wala.util.intset.SimpleIntVector
- All Implemented Interfaces:
IntVector,Serializable
- Direct Known Subclasses:
Path,TunedSimpleIntVector
simple implementation of IntVector
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleIntVector(int defaultValue) SimpleIntVector(int defaultValue, int initialSize) -
Method Summary
-
Constructor Details
-
SimpleIntVector
public SimpleIntVector(int defaultValue) -
SimpleIntVector
public SimpleIntVector(int defaultValue, int initialSize)
-
-
Method Details
-
get
public int get(int x) -
set
public void set(int x, int value) -
performVerboseAction
public void performVerboseAction() -
getMaxIndex
public int getMaxIndex()- Specified by:
getMaxIndexin interfaceIntVector- Returns:
- max i s.t set(i) was called.
-