|
AROM-2_2_13 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--arom.kr.query.util.PathIterator
this class implements Tree path Iterator. a path is a list of nodes leading from root to a leaf the next() method therefore returns an iterator over the nodes of a path.
| Constructor Summary | |
PathIterator(arom.kr.query.util.Tree t)
standard constructor |
|
| Method Summary | |
int |
countPath()
Returns number of path. |
boolean |
hasNext()
iterator.hasNext() |
Object |
next()
iterator.next() |
void |
remove()
unimplemented optional operation : remove |
void |
reset()
reset internal iterator data structures this method is used to reset the iteration before starting a new one. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PathIterator(arom.kr.query.util.Tree t)
t - Description of the Parameter| Method Detail |
public boolean hasNext()
hasNext in interface Iteratorpublic Object next()
next in interface Iteratorpublic void remove()
remove in interface Iteratorpublic void reset()
reset in interface ResetableIteratorpublic int countPath()
|
AROM-2_2_13 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||