|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.util.FlattenedEnumeration<T>
public class FlattenedEnumeration<T>
An Enumeration
created by flattening
an Enumeration
of Enumeration
s
or flattening two Enumeration
s .
Constructor Summary | |
---|---|
FlattenedEnumeration(Enumeration<Enumeration<T>> enumerations)
Constructor. |
|
FlattenedEnumeration(Enumeration<T> a,
Enumeration<T> b)
Constructor given two Enumerations to flatten into one. |
Method Summary | |
---|---|
boolean |
hasMoreElements()
|
T |
nextElement()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlattenedEnumeration(Enumeration<Enumeration<T>> enumerations)
enumerations
- an Enumeration of Enumerationspublic FlattenedEnumeration(Enumeration<T> a, Enumeration<T> b)
a
- head Enumerationb
- tail EnumerationMethod Detail |
---|
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<T>
Enumeration.hasMoreElements()
public T nextElement()
nextElement
in interface Enumeration<T>
Enumeration.nextElement()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |