|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbyucc.jhdl.base.list.VectorList
byucc.jhdl.base.ConnectionList
Holds a list of Connections, and can be iterated.
Constructor Summary | |
ConnectionList()
|
Method Summary | |
void |
append(Connection c)
Controls what can go on the list |
Connection |
getConnection()
Returns the connection at the current list position |
boolean |
hasMoreElements()
Used to check if there are more elements remaining in the list. |
void |
insert(Connection c)
Controls what can go on the list |
void |
merge(ConnectionList list)
Merges the parameter list into this list (each unique element only appears once in the result). |
java.lang.Object |
nextElement()
Returns the current element and then moves to the next element. |
Methods inherited from class byucc.jhdl.base.list.VectorList |
append, appendList, atEnd, delete, deleteAll, deleteCurrent, elementCount, empty, filter, getElt, init, inList, insert, insertAfterCurrent, insertBeforeCurrent, insertList, intersect, iterator, merge, next, prev, size, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ConnectionList()
Method Detail |
public void insert(Connection c)
c
- the connection to insertpublic void append(Connection c)
c
- the connection to insertpublic Connection getConnection()
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
java.util.NoSuchElementException
- if already at endpublic boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public void merge(ConnectionList list)
list
- The list to merge in to this list
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |