org.rutil.collection
Class LongArrayList
java.lang.Object
org.rutil.collection.LongArrayList
public class LongArrayList
- extends java.lang.Object
A light weight array list that support primite long type. Uses long
array internally.
- Author:
- mohan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LongArrayList
public LongArrayList()
LongArrayList
public LongArrayList(int size)
LongArrayList
public LongArrayList(long[] chars)
isEmpty
public boolean isEmpty()
size
public int size()
getLong
public long getLong(int index)
add
public int add(long l)
addElements
public void addElements(long[] array,
int startIndex,
int numChars)
set
public void set(int index,
long value)
removeAt
public long removeAt(int index)
clear
public void clear()
remove
public long[] remove(int from)
toLongArray
public long[] toLongArray()
trim
public void trim()