Package com.sun.xml.rpc.util
Class SingleElementIterator
- java.lang.Object
-
- com.sun.xml.rpc.util.SingleElementIterator
-
-
Constructor Summary
Constructors Constructor Description SingleElementIterator()SingleElementIterator(Object element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Objectnext()voidremove()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Field Detail
-
hasNext
protected boolean hasNext
-
element
protected Object element
-
-
Constructor Detail
-
SingleElementIterator
public SingleElementIterator()
-
SingleElementIterator
public SingleElementIterator(Object element)
-
-
Method Detail
-
next
public Object next() throws NoSuchElementException
- Specified by:
nextin interfaceIterator- Throws:
NoSuchElementException
-
remove
public void remove() throws UnsupportedOperationException, IllegalStateException- Specified by:
removein interfaceIterator- Throws:
UnsupportedOperationExceptionIllegalStateException
-
-