org.apache.myfaces.util
Class IteratorEnumeration<T>

java.lang.Object
  extended by org.apache.myfaces.util.IteratorEnumeration<T>
All Implemented Interfaces:
java.util.Enumeration<T>

public class IteratorEnumeration<T>
extends java.lang.Object
implements java.util.Enumeration<T>

Version:
$Revision: 698799 $ $Date: 2008-09-24 21:03:47 -0500 (Wed, 24 Sep 2008) $
Author:
Anton Koinov (latest modification by $Author: slessard $)

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

Constructor Detail

IteratorEnumeration

public IteratorEnumeration(java.util.Iterator<? extends T> it)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration<T>

nextElement

public T nextElement()
Specified by:
nextElement in interface java.util.Enumeration<T>


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.