public class FGrowArray
extends java.lang.Object
| Constructor and Description |
|---|
FGrowArray() |
FGrowArray(int length) |
| Modifier and Type | Method and Description |
|---|---|
void |
free() |
float |
get(int index) |
void |
grow(int amount)
Increases the internal array's length by the specified amount.
|
int |
length() |
void |
reshape(int length)
Changes the array's length and doesn't attempt to preserve previous values if a new array is required
|
void |
set(FGrowArray original) |
void |
set(int index,
float value) |
public int length()
public void reshape(int length)
length - New array lengthpublic void grow(int amount)
amount - Number of elements added to the internal array's lengthpublic void set(FGrowArray original)
public float get(int index)
public void set(int index,
float value)
public void free()