public interface Storage<T> extends Iterable<T>
| Modifier and Type | Method and Description |
|---|---|
void |
arraycopy(int srcPos,
Object dest,
int destPos,
long length)
Copy all or a portion to dest array.
|
T |
get(long elem)
Get the ith element.
|
long |
length()
Number of elements.
|
forEach, iterator, spliteratorlong length()
T get(long elem)
void arraycopy(int srcPos,
Object dest,
int destPos,
long length)
srcPos - starting pos in this source.dest - destination primitive array of type T.destPos - starting pos in destination.length - copy these number of elements.