public static class FObj.FObjIterator extends java.lang.Object implements FONode.FONodeIterator
FONode.FONodeIterator implementation| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.Object o) |
FONode |
firstNode()
Returns the first node in the list, and decreases the index,
so that a subsequent call to
hasPrevious() will
return false |
boolean |
hasNext() |
boolean |
hasPrevious() |
FONode |
lastNode()
Returns the last node in the list, and advances the
current position, so that a subsequent call to
hasNext()
will return false |
java.lang.Object |
next() |
int |
nextIndex() |
FONode |
nextNode()
Convenience method with return type of FONode
(semantically equivalent to:
(FONode) next();) |
FObj |
parentNode()
Returns the parent node for this iterator's list
of child nodes
|
java.lang.Object |
previous() |
int |
previousIndex() |
FONode |
previousNode()
Convenience method with return type of FONode
(semantically equivalent to:
(FONode) previous();) |
void |
remove() |
void |
set(java.lang.Object o) |
public FObj parentNode()
parentNode in interface FONode.FONodeIteratorpublic java.lang.Object next()
next in interface java.util.Iteratornext in interface java.util.ListIteratorpublic java.lang.Object previous()
previous in interface java.util.ListIteratorpublic void set(java.lang.Object o)
set in interface java.util.ListIteratorpublic void add(java.lang.Object o)
add in interface java.util.ListIteratorpublic boolean hasNext()
hasNext in interface java.util.IteratorhasNext in interface java.util.ListIteratorpublic boolean hasPrevious()
hasPrevious in interface java.util.ListIteratorpublic int nextIndex()
nextIndex in interface java.util.ListIteratorpublic int previousIndex()
previousIndex in interface java.util.ListIteratorpublic void remove()
remove in interface java.util.Iteratorremove in interface java.util.ListIteratorpublic FONode lastNode()
hasNext()
will return falselastNode in interface FONode.FONodeIteratorpublic FONode firstNode()
hasPrevious() will
return falsefirstNode in interface FONode.FONodeIteratorpublic FONode nextNode()
(FONode) next();)nextNode in interface FONode.FONodeIteratorpublic FONode previousNode()
(FONode) previous();)previousNode in interface FONode.FONodeIteratorCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.