public class BaseArray<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected T |
array
The array
|
protected int |
size
Size of the array data
|
protected int |
start
Start position
|
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
|
protected T array
protected int start
protected int size
public BaseArray(T arr, int start, int size)
public T get()
public int start()
public int size()
protected void reset()