|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
java.util.vector
Method Summary | |
void |
addElement(java.lang.Object obj)
Just like the Vector method of the same name. |
boolean |
contains(java.lang.Object obj)
Just like the Vector method of the same name. |
java.lang.Object |
elementAt(int index)
Just like the Vector method of the same name. |
java.util.Enumeration |
elements()
Just like the Vector method of the same name. |
java.lang.Object |
firstElement()
Just like the Vector method of the same name. |
int |
indexOf(java.lang.Object obj)
Just like the Vector method of the same name. |
int |
indexOf(java.lang.Object obj,
int index)
Just like the Vector method of the same name. |
void |
insertElementAt(java.lang.Object obj,
int index)
Just like the Vector method of the same name. |
boolean |
isEmpty()
Just like the Vector method of the same name. |
java.lang.Object |
lastElement()
Just like the Vector method of the same name. |
int |
lastIndexOf(java.lang.Object obj)
Just like the Vector method of the same name. |
int |
lastIndexOf(java.lang.Object obj,
int index)
Just like the Vector method of the same name. |
boolean |
removeElement(java.lang.Object obj)
Just like the Vector method of the same name. |
void |
removeElementAt(int index)
Similar to the Vector method of the same name. |
void |
setElementAt(java.lang.Object obj,
int index)
Just like the Vector method of the same name. |
int |
size()
|
Method Detail |
public int size()
public boolean isEmpty()
java.util.Vector.isEmpty
public java.util.Enumeration elements()
java.util.Vector.Enumeration
public boolean contains(java.lang.Object obj)
java.util.Vector.contains
public int indexOf(java.lang.Object obj)
java.util.Vector.indexOf
public int indexOf(java.lang.Object obj, int index)
java.util.Vector.indexOf
public int lastIndexOf(java.lang.Object obj)
java.util.Vector.lastIndexOf
public int lastIndexOf(java.lang.Object obj, int index)
java.util.Vector.lastIndexOf
public java.lang.Object elementAt(int index)
java.util.Vector.elementAt
public java.lang.Object firstElement()
java.util.Vector.firstElement
public java.lang.Object lastElement()
java.util.Vector.lastElement
public void setElementAt(java.lang.Object obj, int index) throws WrongElementType
java.util.Vector.setElementAt
public void removeElementAt(int index)
java.util.Vector.removeElementAt
public void insertElementAt(java.lang.Object obj, int index) throws WrongElementType
java.util.Vector.insertElementAt
public void addElement(java.lang.Object obj) throws WrongElementType
java.util.Vector.addElement
public boolean removeElement(java.lang.Object obj)
java.util.Vector.removeElement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |