org.zkoss.util
Class CollectionsX.OneIterator

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

public static final class CollectionsX.OneIterator
extends java.lang.Object
implements java.util.Iterator

An iterator that iterates one element.


Constructor Summary
CollectionsX.OneIterator(java.lang.Object one)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionsX.OneIterator

public CollectionsX.OneIterator(java.lang.Object one)
Method Detail

hasNext

public final boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public final java.lang.Object next()
Specified by:
next in interface java.util.Iterator

remove

public final void remove()
Specified by:
remove in interface java.util.Iterator


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