public class TwoLevelVector<T> extends Object implements IVector<T>, Serializable
IVector
implementation which delegates to pages of int vectors.Constructor and Description |
---|
TwoLevelVector() |
Modifier and Type | Method and Description |
---|---|
T |
get(int x) |
int |
getMaxIndex() |
Iterator<T> |
iterator() |
void |
performVerboseAction() |
void |
set(int x,
T value)
TODO: this can be optimized
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public void set(int x, T value)
IVector
set
in interface IVector<T>
IntVector.set(int, int)
public void performVerboseAction()
performVerboseAction
in interface IVector<T>
public int getMaxIndex()
getMaxIndex
in interface IVector<T>