org.zkoss.util
Class CollectionsX.OneIterator
java.lang.Object
org.zkoss.util.CollectionsX.OneIterator
- All Implemented Interfaces:
- Iterator
- Enclosing class:
- CollectionsX
public static final class CollectionsX.OneIterator
- extends Object
- implements Iterator
An iterator that iterates one element.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionsX.OneIterator
public CollectionsX.OneIterator(Object one)
hasNext
public final boolean hasNext()
- Specified by:
hasNext in interface Iterator
next
public final Object next()
- Specified by:
next in interface Iterator
remove
public final void remove()
- Specified by:
remove in interface Iterator
Copyright © 2012. All Rights Reserved.