|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.colby.cs.JeSS.util.VectorVisitorCollection
The current implementation of JeSSVisitorCollection. This is done using a Vector as a delegate.
Field Summary | |
private java.util.Vector |
collection
|
Constructor Summary | |
VectorVisitorCollection()
|
Method Summary | |
void |
add(JeSSVisitor visitor)
Add another visitor to the Collection |
void |
append(JeSSVisitorCollection otherJeSSVC)
Add all visitors from another Collection of this type |
JeSSVisitor |
elementAt(int i)
Retrieve an element at specified location |
java.util.Collection |
getCollection()
A helper method for append. |
int |
size()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.Vector collection
Constructor Detail |
public VectorVisitorCollection()
Method Detail |
public JeSSVisitor elementAt(int i)
JeSSVisitorCollection
elementAt
in interface JeSSVisitorCollection
i
- - the location of the desired element
public void add(JeSSVisitor visitor)
JeSSVisitorCollection
add
in interface JeSSVisitorCollection
visitor
- - the visitor to be addedpublic void append(JeSSVisitorCollection otherJeSSVC)
JeSSVisitorCollection
append
in interface JeSSVisitorCollection
otherJeSSVC
- - the collection to be addedpublic java.util.Collection getCollection()
JeSSVisitorCollection
getCollection
in interface JeSSVisitorCollection
public int size()
size
in interface JeSSVisitorCollection
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |