Method Summary |
|
abstract public void | addInt(int val) Adds an int to the block. |
abstract public int | binarySearch(Object key, IndexComparator c) Considers each int a reference to another structure, and the block
sorted by these structures. |
abstract public int | bottomInt() The bottom int in the list. |
abstract public boolean | canContain(int number) Returns true if the block has enough room to fill with the given number
of integers. |
abstract public void | clear() Clears the object to be re-used. |
abstract public void | copyTo(IntegerListBlockInterface dest_block) Copies all the data from this block into the given destination block. |
abstract public int | copyTo(int[] to, int offset) Copies all the data from this block into the given int[] array. |
final public boolean | hasChanged() Returns true if this store has been modified. |
abstract public void | insertIntAt(int val, int pos) Inserts an int at the given position. |
abstract public int | intAt(int pos) Returns the int at the given position in the array. |
abstract public boolean | isEmpty() Returns true if the block is empty. |
abstract public boolean | isFull() Returns true if the block is full. |
abstract public int | iterativeSearch(int val) Performs an iterative search through the int values in the list. |
abstract public int | iterativeSearch(int val, int position) Performs an iterative search from the given position to the end of
the list in the block. |
abstract public void | moveTo(IntegerListBlockInterface dest_block, int dest_index, int length) Moves a set of values from the end of this block and inserts it into the
given block at the destination index specified. |
abstract public int | removeIntAt(int pos) Removes an Int from the specified position in the block. |
abstract public int | searchFirst(Object key, IndexComparator c) Considers each int a reference to another structure, and the block
sorted by these structures. |
abstract public int | searchFirst(int val) Assuming a sorted block, finds the first index in the block that
equals the given value. |
abstract public int | searchLast(Object key, IndexComparator c) Considers each int a reference to another structure, and the block
sorted by these structures. |
abstract public int | searchLast(int val) Assuming a sorted block, finds the first index in the block that
equals the given value. |
abstract public int | setIntAt(int val, int pos) Sets an int at the given position, overwriting anything that was
previously there. |
abstract public int | size() Returns the number of entries in this block. |
abstract public int | topInt() The top int in the list. |