|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.morph.reflect.support.ObjectIterator
public class ObjectIterator
Exposes an object as an iterator by treating the object as a collection with
one element. That means hasNext
will return true
before next
has been called, and will return
false
after it has been called.
Constructor Summary | |
---|---|
ObjectIterator(java.lang.Object object)
|
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 |
---|
public ObjectIterator(java.lang.Object object)
Method Detail |
---|
public void remove()
remove
in interface java.util.Iterator
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |