net.officefloor.plugin.servlet.web.http.session
Class EnumerationIterator<E>

java.lang.Object
  extended by net.officefloor.plugin.servlet.web.http.session.EnumerationIterator<E>
All Implemented Interfaces:
Iterator<E>

public class EnumerationIterator<E>
extends Object
implements Iterator<E>

Iterator backed by an Enumeration.

Author:
Daniel Sagenschneider

Constructor Summary
EnumerationIterator(Enumeration<E> enumeration)
          Initiate.
 
Method Summary
 boolean hasNext()
           
 E next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumerationIterator

public EnumerationIterator(Enumeration<E> enumeration)
Initiate.

Parameters:
enumeration - Enumeration.
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<E>

next

public E next()
Specified by:
next in interface Iterator<E>

remove

public void remove()
Specified by:
remove in interface Iterator<E>


Copyright © 2005-2012. All Rights Reserved.