org.zkoss.util
Class CollectionsX.OneEnumeration

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

public static final class CollectionsX.OneEnumeration
extends java.lang.Object
implements java.util.Enumeration

An enumeration that enumerates one element.


Constructor Summary
CollectionsX.OneEnumeration(java.lang.Object one)
           
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.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(java.lang.Object one)
Method Detail

hasMoreElements

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

nextElement

public final java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration


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