org.hippoecm.hst.mock.util
Class IteratorEnumeration<E>

java.lang.Object
  extended by org.hippoecm.hst.mock.util.IteratorEnumeration<E>
All Implemented Interfaces:
Enumeration<E>

public class IteratorEnumeration<E>
extends Object
implements Enumeration<E>


Constructor Summary
IteratorEnumeration(Iterator<E> iterator)
           
 
Method Summary
 boolean hasMoreElements()
           
 E nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IteratorEnumeration

public IteratorEnumeration(Iterator<E> iterator)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration<E>

nextElement

public E nextElement()
Specified by:
nextElement in interface Enumeration<E>


Copyright © 2008-2012 Hippo. All Rights Reserved.