edu.ksu.cis.projects.trove.custom
Class LongList

java.lang.Object
  extended by edu.ksu.cis.projects.trove.custom.LongList
All Implemented Interfaces:
Serializable, Cloneable

public class LongList
extends Object
implements Serializable, Cloneable

See Also:
Serialized Form

Field Summary
protected static int defaultCapacity
           
protected static int defaultDelta
           
protected static int defaultIncrement
           
protected  long[] elements
           
protected  int initialCapacity
           
protected  int size
           
 
Constructor Summary
LongList()
           
LongList(int initialCapacity)
           
 
Method Summary
 void add(long element)
           
 void clear()
           
 Object clone()
           
 long get(int index)
           
 long remove(int index)
           
protected  void resize()
           
 void set(int index, long element)
           
protected  void setUp(int capacity)
           
 int size()
           
 long[] toArray()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

LongList

public LongList()

LongList

public LongList(int initialCapacity)
Method Detail

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()