edu.ksu.cis.projects.trove.custom
Class LongList
java.lang.Object
edu.ksu.cis.projects.trove.custom.LongList
- All Implemented Interfaces:
- Serializable, Cloneable
public class LongList
- extends Object
- implements Serializable, Cloneable
- See Also:
- Serialized Form
defaultCapacity
protected static int defaultCapacity
defaultIncrement
protected static int defaultIncrement
defaultDelta
protected static int defaultDelta
initialCapacity
protected int initialCapacity
elements
protected long[] elements
size
protected int size
LongList
public LongList()
LongList
public LongList(int initialCapacity)
add
public void add(long element)
clear
public void clear()
clone
public Object clone()
- Overrides:
clone
in class Object
get
public long get(int index)
remove
public long remove(int index)
set
public void set(int index,
long element)
size
public int size()
toArray
public long[] toArray()
setUp
protected void setUp(int capacity)
resize
protected void resize()