| Modifier and Type | Field and Description |
|---|---|
| private float[] | array
Underlaying array |
| private final boolean | noCheck
Don't check for array borders? |
| private int | pointer
Pointer to array member |
| Access | Constructor and Description |
|---|---|
| public | CArrayOfFloats(final float[]
underlaying array array, final int pointer (index) to array pointer)Makes new CArray |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public float | |
| public float[] | |
| public int | |
| public float | Returns: element at relative indexrelative index i)Returns array element at specified index relatively to pointer |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setRelative(final int
relative index i, final float value to be set value)Sets value of element at specified index relatively to pointer |
| array | back to summary |
|---|---|
| private float[] array Underlaying array | |
| noCheck | back to summary |
|---|---|
| private final boolean noCheck Don't check for array borders? | |
| pointer | back to summary |
|---|---|
| private int pointer Pointer to array member | |
| CArrayOfFloats | back to summary |
|---|---|
| public CArrayOfFloats(final float[] array, final int pointer) Makes new CArray
| |
| CArrayOfFloats | back to summary |
|---|---|
| public CArrayOfFloats(final CArrayOfFloats carray) Makes new CArray from other CArray
| |
| CArrayOfFloats | back to summary |
|---|---|
| public CArrayOfFloats(final float[] ctlarray) Makes new CArray with pointer set to 0
| |
| get | back to summary |
|---|---|
| public float get() Returns element at pointer
| |
| get | back to summary |
|---|---|
| public float get(final int i) Returns array element at specified index
| |
| getArray | back to summary |
|---|---|
| public float[] getArray() Returns underlaying array
| |
| getPointer | back to summary |
|---|---|
| public int getPointer() Returns pointer value
| |
| getRelative | back to summary |
|---|---|
| public float getRelative(final int i) Returns array element at specified index relatively to pointer
| |
| lessenPointerBy | back to summary |
|---|---|
| public void lessenPointerBy(final int i) Lessens pointer by value
| |
| mm | back to summary |
|---|---|
| public void mm() Lessens ponter by one (--) | |
| pp | back to summary |
|---|---|
| public void pp() Increases pointer by one (++) | |
| raisePointerBy | back to summary |
|---|---|
| public void raisePointerBy(final int i) Raises pointer by value
| |
| set | back to summary |
|---|---|
| public void set(final float f) Sets element at pointer
| |
| setArray | back to summary |
|---|---|
| public void setArray(final float[] array) Sets underlaying array
| |
| setPointer | back to summary |
|---|---|
| public void setPointer(final int pointer) Sets ponter value
| |
| setRelative | back to summary |
|---|---|
| public void setRelative(final int i, final float value) Sets value of element at specified index relatively to pointer
| |