| Constructor and Description |
|---|
HugeArrayImpl(Class<T> tClass,
long length) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyTo(long index,
T to)
Copy the contents of an index to another object
|
T |
get(long index)
Get a recycled object which is a reference to this element.
|
void |
get(long index,
T element)
If the element was returned by get(long), re-index it otherwise, get a copy of the object in the array.
|
long |
length() |
void |
recycle(T t)
recycle the reference,
|
void |
set(long index,
T from)
Set the data in the array to a copy of this element
|
public long length()
public T get(long index)
HugeArraypublic void get(long index,
T element)
HugeArraypublic void copyTo(long index,
T to)
HugeArraypublic void set(long index,
T from)
HugeArrayCopyright © 2019. All rights reserved.