org.zkoss.util
Class CollectionsX.CollectionEnumeration<E>

java.lang.Object
  extended by org.zkoss.util.CollectionsX.CollectionEnumeration<E>
All Implemented Interfaces:
java.util.Enumeration<E>
Enclosing class:
CollectionsX

public static final class CollectionsX.CollectionEnumeration<E>
extends java.lang.Object
implements java.util.Enumeration<E>

An enumeration on top of a collection or iterator.


Constructor Summary
CollectionsX.CollectionEnumeration(java.util.Collection<? extends E> c)
           
CollectionsX.CollectionEnumeration(java.util.Iterator<? extends E> iter)
           
 
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

CollectionsX.CollectionEnumeration

public CollectionsX.CollectionEnumeration(java.util.Collection<? extends E> c)

CollectionsX.CollectionEnumeration

public CollectionsX.CollectionEnumeration(java.util.Iterator<? extends E> iter)
Method Detail

hasMoreElements

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

nextElement

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


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo