public class IGrowArray
extends java.lang.Object
| Constructor and Description |
|---|
IGrowArray() |
IGrowArray(int length) |
| Modifier and Type | Method and Description |
|---|---|
void |
free() |
int |
get(int index) |
void |
growInternal(int amount)
Increases the internal array's length by the specified amount.
|
int |
length() |
void |
reshape(int length) |
void |
set(IGrowArray original) |
void |
set(int index,
int value) |
public int length()
public void reshape(int length)
public void growInternal(int amount)
amount - Number of elements added to the internal array's lengthpublic void set(IGrowArray original)
public int get(int index)
public void set(int index,
int value)
public void free()