org.zkoss.util
Class CollectionsX.OneEnumeration<E>
java.lang.Object
org.zkoss.util.CollectionsX.OneEnumeration<E>
- All Implemented Interfaces:
- Enumeration<E>
- Enclosing class:
- CollectionsX
public static final class CollectionsX.OneEnumeration<E>
- extends Object
- implements Enumeration<E>
An enumeration that enumerates one element.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionsX.OneEnumeration
public CollectionsX.OneEnumeration(E one)
hasMoreElements
public final boolean hasMoreElements()
- Specified by:
hasMoreElements in interface Enumeration<E>
nextElement
public final E nextElement()
- Specified by:
nextElement in interface Enumeration<E>
Copyright © 2014. All rights reserved.