public class YLongList
extends java.lang.Object
| Constructor and Description |
|---|
YLongList()
Creates an empty list.
|
YLongList(int initalCapacity)
Creates an empty list with preallocated initial space for elements.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(long value)
Add element to the list.
|
long |
get(int offset)
Get element at given offset.
|
int |
size()
Returns number of elements in the list.
|
public YLongList()
public YLongList(int initalCapacity)
initalCapacity - initial capacity of the listpublic int size()
public long get(int offset)
offset - given offsetjava.lang.IndexOutOfBoundsException - when offset is out of boundpublic void add(long value)
value - value to be add at the end of the listCopyright © 2018 SAP SE. All Rights Reserved.