net.officefloor.plugin.servlet.container
Class IteratorEnumeration<E>
java.lang.Object
net.officefloor.plugin.servlet.container.IteratorEnumeration<E>
- All Implemented Interfaces:
- Enumeration<E>
public class IteratorEnumeration<E>
- extends Object
- implements Enumeration<E>
Enumeration wrapping an Iterator.
- Author:
- Daniel Sagenschneider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IteratorEnumeration
public IteratorEnumeration(Iterator<E> iterator)
- Initiate.
- Parameters:
iterator - Iterator.
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements in interface Enumeration<E>
nextElement
public E nextElement()
- Specified by:
nextElement in interface Enumeration<E>
Copyright © 2005-2012. All Rights Reserved.