Package | Description |
---|---|
com.mckoi.util |
Miscellaneous utility classes.
|
Modifier and Type | Class and Description |
---|---|
static class |
BlockIntegerList.IntArrayListBlock
The block that contains the actual int values of the list.
|
Modifier and Type | Field and Description |
---|---|
IntegerListBlockInterface |
IntegerListBlockInterface.next
The next block in the chain.
|
IntegerListBlockInterface |
IntegerListBlockInterface.previous
The previous block in the chain.
|
Modifier and Type | Method and Description |
---|---|
protected IntegerListBlockInterface |
BlockIntegerList.newListBlock()
Creates a new ListBlock to fill with ints.
|
protected abstract IntegerListBlockInterface |
AbstractBlockIntegerList.newListBlock()
Creates a new ListBlock for the given implementation.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
IntegerListBlockInterface.copyTo(IntegerListBlockInterface dest_block)
Copies all the data from this block into the given destination block.
|
void |
BlockIntegerList.IntArrayListBlock.copyTo(IntegerListBlockInterface dest_block)
Copies all the data from this block into the given destination block.
|
protected void |
BlockIntegerList.deleteListBlock(IntegerListBlockInterface list_block)
Called when the class decides this ListBlock is no longer needed.
|
protected void |
AbstractBlockIntegerList.deleteListBlock(IntegerListBlockInterface list_block)
Called when the class decides this ListBlock is no longer needed.
|
abstract void |
IntegerListBlockInterface.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.
|
void |
BlockIntegerList.IntArrayListBlock.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.
|
protected int |
AbstractBlockIntegerList.removeFromBlock(int block_index,
IntegerListBlockInterface block,
int position)
Removes the value from the given position in the specified block.
|
Constructor and Description |
---|
AbstractBlockIntegerList(IntegerListBlockInterface[] blocks)
Constructs the list from the given set of initial blocks.
|
Copyright © 2015. All rights reserved.