|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--net.sourceforge.jane.util.ExtendedEnumeration
|
+--net.sourceforge.jane.jjtree.NodeEnumeration
A enumeration object that enumerates over the child of a particular node.
| Fields inherited from class net.sourceforge.jane.util.ExtendedEnumeration |
predicate |
| Constructor Summary | |
NodeEnumeration(Node aParent,
java.lang.Class aMatch)
Create a new NodeEnumeration. |
|
| Method Summary | |
protected boolean |
doCheckSize()
Returns true if there are not more elements in the
current series. |
protected void |
doNext()
Go to the next element. |
protected java.lang.Object |
getCurrent()
Returns the current element. |
boolean |
hasMoreNodes()
Returns true if there are more nodes. |
Node |
nextNode()
Returns the next node. |
void |
reset()
Reset this enumeration to the beginning. |
| Methods inherited from class net.sourceforge.jane.util.ExtendedEnumeration |
doEvaluate, hasMoreElements, nextElement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NodeEnumeration(Node aParent,
java.lang.Class aMatch)
NodeEnumeration.| Method Detail |
public boolean hasMoreNodes()
true if there are more nodes.public Node nextNode()
public void reset()
reset in class ExtendedEnumerationprotected boolean doCheckSize()
true if there are not more elements in the
current series.doCheckSize in class ExtendedEnumerationprotected java.lang.Object getCurrent()
getCurrent in class ExtendedEnumerationprotected void doNext()
doNext in class ExtendedEnumeration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||