de.schlichtherle.truezip.util
Class JointEnumeration<E>
java.lang.Object
de.schlichtherle.truezip.util.JointEnumeration<E>
- All Implemented Interfaces:
- Enumeration<E>
@NotThreadSafe
public final class JointEnumeration<E>
- extends Object
- implements Enumeration<E>
Concatenates two enumerations.
- Author:
- Christian Schlichtherle
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
e1
private Enumeration<? extends E> e1
e2
private final Enumeration<? extends E> e2
JointEnumeration
public JointEnumeration(Enumeration<? extends E> e1,
Enumeration<? extends E> e2)
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements in interface Enumeration<E>
nextElement
public E nextElement()
- Specified by:
nextElement in interface Enumeration<E>
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.