hudson.util
Class CompoundEnumeration<T>
java.lang.Object
hudson.util.CompoundEnumeration<T>
- All Implemented Interfaces:
- Enumeration<T>
public class CompoundEnumeration<T>
- extends Object
- implements Enumeration<T>
Enumeration
that aggregates multiple Enumeration
s.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompoundEnumeration
public CompoundEnumeration(Enumeration... e)
CompoundEnumeration
public CompoundEnumeration(Iterable<Enumeration<? extends T>> e)
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration<T>
nextElement
public T nextElement()
throws NoSuchElementException
- Specified by:
nextElement
in interface Enumeration<T>
- Throws:
NoSuchElementException
Copyright © 2004-2013. All Rights Reserved.