class Vector Modifiers: public Implements: Collection, List, Queue, Stack
protected Object[] data protected int numElements protected int topElement protected int resizeAmount public Vector ( ) public Vector ( uint size ) public Vector ( uint size, uint resizeAmount ) public Vector ( Object[] data ) public Vector ( Object[] data, uint resizeAmount ) protected void resize ( uint newsize ) public void add ( Object o ) public void addElements ( Collection c ) public boolean contains ( Object o ) public boolean containsElements ( Collection c ) public void remove ( Object o ) public void removeElements ( Collection c ) public void retain ( Collection c ) public void empty ( ) public int compare ( Collection c ) public boolean isEmpty ( ) public boolean isFull ( ) public int size ( ) public Object[] toArray ( ) public void copyIntoArray ( Object[] array ) public Iterator iterator ( ) public Object getAt ( int index ) public void setAt ( int index, Object o ) public void insertAt ( int index, Object o ) public void removeAt ( int index ) public int compare ( List l ) public int compareElements ( int left, int right ) public void swapElements ( int left, int right ) public void enqueue ( Object o ) public Object first ( ) public Object dequeue ( ) public void push ( Object o ) public Object peek ( ) public Object pop ( ) public Object last ( ) public Object copyObject ( )
|