| Modifier and Type | Field and Description |
|---|---|
| protected int | m_blocksize
Size of blocks to allocate |
| protected int | m_lengthPos
Position where size of array is kept |
| protected int[] | m_map
Array of ints |
| protected int | m_mapSize
Size of array |
| Access | Constructor and Description |
|---|---|
| public | OpMapVector(int
Size of block to allocate blocksize, int increaseSize, int lengthPos)Construct a OpMapVector, using the given block size. |
| Modifier and Type | Method and Description |
|---|---|
| public final int | |
| public final void | setElementAt(int
object to set value, int Index of where to set the object index)Sets the component at the specified index of this vector to be the specified object. |
| public final void |
| m_blocksize | back to summary |
|---|---|
| protected int m_blocksize Size of blocks to allocate | |
| m_lengthPos | back to summary |
|---|---|
| protected int m_lengthPos Position where size of array is kept | |
| m_map | back to summary |
|---|---|
| protected int[] m_map Array of ints | |
| m_mapSize | back to summary |
|---|---|
| protected int m_mapSize Size of array | |
| OpMapVector | back to summary |
|---|---|
| public OpMapVector(int blocksize, int increaseSize, int lengthPos) Construct a OpMapVector, using the given block size.
| |
| elementAt | back to summary |
|---|---|
| public final int elementAt(int i) Get the nth element.
| |
| setElementAt | back to summary |
|---|---|
| public final void setElementAt(int value, int index) Sets the component at the specified index of this vector to be the specified object. The previous component at that position is discarded. The index must be a value greater than or equal to 0 and less than the current size of the vector.
| |
| setToSize | back to summary |
|---|---|
| public final void setToSize(int size) | |