org.zkoss.util
Class CollectionsX.OneEnumeration

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

public static final class CollectionsX.OneEnumeration
extends Object
implements Enumeration

An enumeration that enumerates one element.


Constructor Summary
CollectionsX.OneEnumeration(Object one)
           
 
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.OneEnumeration

public CollectionsX.OneEnumeration(Object one)
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.