public class CompositeEnumeration<T>
extends java.lang.Object
implements java.util.Enumeration<T>
Only use this class if you need to work with Enumerations, e.g. because you are working with an old API.
| Constructor and Description |
|---|
CompositeEnumeration(java.util.Enumeration<T> first)
Create the enumeration wrapping a single enumeration.
|
| Modifier and Type | Method and Description |
|---|---|
CompositeEnumeration<T> |
add(java.util.Enumeration<T> enumeration)
Fluent method for chaining additions of subsequent enumerations.
|
boolean |
hasMoreElements() |
T |
nextElement() |
public CompositeEnumeration(java.util.Enumeration<T> first)
public CompositeEnumeration<T> add(java.util.Enumeration<T> enumeration)
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumeration<T>