public class CompoundEnumeration<T> extends Object implements Enumeration<T>
Enumeration
that aggregates multiple Enumeration
s.Constructor and Description |
---|
CompoundEnumeration(Enumeration... e) |
CompoundEnumeration(Iterable<Enumeration<? extends T>> e) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements() |
T |
nextElement() |
public CompoundEnumeration(Enumeration... e)
public CompoundEnumeration(Iterable<Enumeration<? extends T>> e)
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<T>
public T nextElement() throws NoSuchElementException
nextElement
in interface Enumeration<T>
NoSuchElementException
Copyright © 2004–2021. All rights reserved.