All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface EDU.bmrb.starlibj.StarVectorLike

public interface StarVectorLike
This interface is declared by any object in the starlibj that wants to announce to the world that it will behave a lot like a java.util.vector. Anyone familiar with the java.util.vector class should have no problem understanding how yo use a class that implements the VectorLike interface.

See Also:
vector

Method Index

 o addElement(Object)
Just like the Vector method of the same name.
 o contains(Object)
Just like the Vector method of the same name.
 o elementAt(int)
Just like the Vector method of the same name.
 o elements()
Just like the Vector method of the same name.
 o firstElement()
Just like the Vector method of the same name.
 o indexOf(Object)
Just like the Vector method of the same name.
 o indexOf(Object, int)
Just like the Vector method of the same name.
 o insertElementAt(Object, int)
Just like the Vector method of the same name.
 o isEmpty()
Just like the Vector method of the same name.
 o lastElement()
Just like the Vector method of the same name.
 o lastIndexOf(Object)
Just like the Vector method of the same name.
 o lastIndexOf(Object, int)
Just like the Vector method of the same name.
 o removeElement(Object)
Just like the Vector method of the same name.
 o removeElementAt(int)
Similar to the Vector method of the same name.
 o setElementAt(Object, int)
Just like the Vector method of the same name.
 o size()

Methods

 o size
 public abstract int size()
 o isEmpty
 public abstract boolean isEmpty()
Just like the Vector method of the same name.

See Also:
isEmpty
 o elements
 public abstract Enumeration elements()
Just like the Vector method of the same name.

See Also:
Enumeration
 o contains
 public abstract boolean contains(Object obj)
Just like the Vector method of the same name.

See Also:
contains
 o indexOf
 public abstract int indexOf(Object obj)
Just like the Vector method of the same name.

See Also:
indexOf
 o indexOf
 public abstract int indexOf(Object obj,
                             int index)
Just like the Vector method of the same name.

See Also:
indexOf
 o lastIndexOf
 public abstract int lastIndexOf(Object obj)
Just like the Vector method of the same name.

See Also:
lastIndexOf
 o lastIndexOf
 public abstract int lastIndexOf(Object obj,
                                 int index)
Just like the Vector method of the same name.

See Also:
lastIndexOf
 o elementAt
 public abstract Object elementAt(int index)
Just like the Vector method of the same name.

See Also:
elementAt
 o firstElement
 public abstract Object firstElement()
Just like the Vector method of the same name.

See Also:
firstElement
 o lastElement
 public abstract Object lastElement()
Just like the Vector method of the same name.

See Also:
lastElement
 o setElementAt
 public abstract void setElementAt(Object obj,
                                   int index) throws WrongElementType
Just like the Vector method of the same name.

See Also:
setElementAt
 o removeElementAt
 public abstract void removeElementAt(int index)
Similar to the Vector method of the same name.

See Also:
removeElementAt
 o insertElementAt
 public abstract void insertElementAt(Object obj,
                                      int index) throws WrongElementType
Just like the Vector method of the same name.

See Also:
insertElementAt
 o addElement
 public abstract void addElement(Object obj) throws WrongElementType
Just like the Vector method of the same name.

See Also:
addElement
 o removeElement
 public abstract boolean removeElement(Object obj)
Just like the Vector method of the same name.

See Also:
removeElement

All Packages  Class Hierarchy  This Package  Previous  Next  Index