public abstract class Array<T> extends Simple
Modifier and Type | Field and Description |
---|---|
protected T |
array
The array
|
protected int |
size
Size of the array data, -1 by default
|
protected int |
start
Start position in the array data, -1 by
default
|
Modifier and Type | Method and Description |
---|---|
T |
get()
Get the array body.
|
protected void |
reset()
Reset the array
|
int |
size()
Get the size of the array.
|
int |
start()
Get the start index of the array
|
encode, free, getNumEnocdeBytes, release
protected T array
protected int start
protected int size
public Array(T arr, int start, int size)
public T get()
public int start()
public int size()
protected void reset()