org.zkoss.util
Class CollectionsX.CollectionEnumeration

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

public static final class CollectionsX.CollectionEnumeration
extends Object
implements Enumeration

An enumeration on top of a collection or iterator.


Constructor Summary
CollectionsX.CollectionEnumeration(Collection c)
           
CollectionsX.CollectionEnumeration(Iterator iter)
           
 
Method Summary
 boolean hasMoreElements()
           
 Object 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(Collection c)

CollectionsX.CollectionEnumeration

public CollectionsX.CollectionEnumeration(Iterator iter)
Method Detail

hasMoreElements

public final boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration

nextElement

public final Object nextElement()
Specified by:
nextElement in interface Enumeration


Copyright © 2011. All Rights Reserved.