public class CompositeEnumeration<T>
extends java.lang.Object
implements java.util.Enumeration<T>
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.util.Enumeration<T>> |
allEnumerations |
protected int |
currentEnumeration |
Constructor and Description |
---|
CompositeEnumeration()
Creates new composite enumeration.
|
CompositeEnumeration(java.util.Enumeration<T>... enumerations)
Creates new composite enumeration with provided enumerations.
|
Modifier and Type | Method and Description |
---|---|
void |
add(java.util.Enumeration<T> enumeration)
Adds an enumeration to this composite.
|
boolean |
hasMoreElements()
Returns
true if composite has more elements. |
T |
nextElement() |
protected final java.util.List<java.util.Enumeration<T>> allEnumerations
protected int currentEnumeration
public CompositeEnumeration()
add(Enumeration)
method.public CompositeEnumeration(java.util.Enumeration<T>... enumerations)
Copyright © 2003-present Jodd Team