Package com.ibm.wala.util.intset
Class SimpleIntVector
- java.lang.Object
-
- com.ibm.wala.util.intset.SimpleIntVector
-
- All Implemented Interfaces:
IntVector
,java.io.Serializable
- Direct Known Subclasses:
Path
,TunedSimpleIntVector
public class SimpleIntVector extends java.lang.Object implements IntVector, java.io.Serializable
simple implementation of IntVector- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleIntVector(int defaultValue)
SimpleIntVector(int defaultValue, int initialSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
get(int x)
int
getMaxIndex()
void
performVerboseAction()
void
set(int x, int value)
-
-
-
Method Detail
-
performVerboseAction
public void performVerboseAction()
-
getMaxIndex
public int getMaxIndex()
- Specified by:
getMaxIndex
in interfaceIntVector
- Returns:
- max i s.t set(i) was called.
-
-