|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
java.lang.Object |
clone()
|
NodeIterator |
cloneWithReset()
Get a cloned Iterator. |
Node |
getCurrentNode()
|
int |
getCurrentPos()
Get the current position, which is one less than the next nextNode() call will retreave. |
boolean |
isFresh()
Tells if this NodeSet is "fresh", in other words, if the first nextNode() that is called will return the first node in the set. |
void |
reset()
Reset the iterator. |
void |
runTo(int index)
If an index is requested, NodeSet will call this method to run the iterator to the index. |
void |
setCurrentPos(int i)
Set the current position in the node set. |
void |
setShouldCacheNodes(boolean b)
If setShouldCacheNodes(true) is called, then nodes will be cached. |
int |
size()
Get the length of the list. |
Method Detail |
public Node getCurrentNode()
public int getCurrentPos()
public void reset()
public void setShouldCacheNodes(boolean b)
public void runTo(int index)
public void setCurrentPos(int i)
i
- Must be a valid index.public int size()
public boolean isFresh()
public NodeIterator cloneWithReset() throws java.lang.CloneNotSupportedException
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |