Source File Vector.tesla
namespace Tesla.Collections

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

class VectorIterator

Modifiers: protected
Implements: Iterator

public VectorIterator ( Vector vect )
public boolean hasNext ( )
public boolean hasPrev ( )
public Object next ( )
public Object prev ( )
public Object current ( )
public void reset ( )
public boolean remove ( )
public boolean replace ( Object o )


Produce by t2html tool written by Eric Kerfoot © 2004