Package nl.siegmann.epublib.util
Class CollectionUtil.IteratorEnumerationAdapter<T>
java.lang.Object
nl.siegmann.epublib.util.CollectionUtil.IteratorEnumerationAdapter<T>
- Type Parameters:
T-
- All Implemented Interfaces:
Enumeration<T>
- Enclosing class:
CollectionUtil
private static class CollectionUtil.IteratorEnumerationAdapter<T>
extends Object
implements Enumeration<T>
Wraps an Enumeration around an Iterator
-
Field Details
-
iterator
-
-
Constructor Details
-
IteratorEnumerationAdapter
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElementsin interfaceEnumeration<T>
-
nextElement
- Specified by:
nextElementin interfaceEnumeration<T>
-