|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.zig_project.gpl.common.enumerations.JoinedEnumeration
Joins an Enumeration of Enumerations. This class will enumerate over a series of independant enumerations, allowing several collections of elements to behave as a joined collection.
Field Summary | |
protected Enumeration |
active_enum
The current enumeration in sequence being enumerated |
protected Enumeration |
series
The sequence of Enumerations this instance will join |
Constructor Summary | |
JoinedEnumeration(Enumeration e)
Creates the enumerable joint. |
Method Summary | |
boolean |
hasMoreElements()
Determines if at least one element is still available in at least one enumeration. |
Object |
nextElement()
Retrieves the next element within this enumeration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final Enumeration series
protected Enumeration active_enum
Constructor Detail |
public JoinedEnumeration(Enumeration e)
e
- the sequence of Enumerations to be joinedMethod Detail |
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration
public Object nextElement()
nextElement
in interface Enumeration
NoSuchElementException
- if there are no remaining elements
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |