|
Building Parsers with Java | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--sjm.engine.ProgramEnumerator
A ProgramEnumerator returns the axioms of a program, one at a time.
| Field Summary | |
protected java.util.Enumeration |
e
|
| Constructor Summary | |
ProgramEnumerator(Program p)
Construct an enumeration of the given program. |
|
| Method Summary | |
boolean |
hasMoreAxioms()
Tests if this enumeration contains more axioms. |
Axiom |
nextAxiom()
Returns the next axiom of this enumeration. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
protected java.util.Enumeration e
| Constructor Detail |
public ProgramEnumerator(Program p)
Program - the program to enumerate over| Method Detail |
public boolean hasMoreAxioms()
true if the program this enumeration
is constructed for contains more axioms, and
false otherwise.public Axiom nextAxiom()
|
by Steve Metsker | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||