Source File Collections.tesla
namespace Tesla.Collections

interface Iterator

Modifiers: public

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 )

interface Iterable

Modifiers: public

public Iterator iterator ( )

interface Collection

Modifiers: public
Implements: Iterable

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 )

interface List

Modifiers: public

public int size ( )
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 list )
public int compareElements ( int left, int right )
public void swapElements ( int left, int right )

interface Queue

Modifiers: public

public void enqueue ( Object o )
public Object first ( )
public Object dequeue ( )
public boolean isEmpty ( )
public boolean isFull ( )
public int size ( )
public void empty ( )

interface Stack

Modifiers: public

public void push ( Object o )
public Object peek ( )
public Object pop ( )
public boolean isEmpty ( )
public boolean isFull ( )
public int size ( )
public void empty ( )

interface Comparator

Modifiers: public

public int compare ( Object left, Object right )

class NullIterator

Modifiers: public
Implements: Iterator

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 )

class ObjectArrayIterator

Modifiers: public
Implements: Iterator

protected Object[] data
protected int position
protected boolean isRemoveable
public ObjectArrayIterator ( Object[] data )
public ObjectArrayIterator ( Object[] data, boolean isRemoveable )
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