|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.sc3d.apt.sss.v3.NDFA.State
public static class NDFA.State
Represents a state of an NDFA. Instances are not immutable: outgoing Transitions can be added using the 'add()' method.
| Constructor Summary | |
|---|---|
NDFA.State()
Constructs a State with no outgoing Transitions. |
|
| Method Summary | |
|---|---|
void |
add(NDFA.Transition t)
Adds an outgoing Transition to this State. |
int |
count()
Returns the number of outgoing Transitions added to far. |
NDFA.Transition |
get(int index)
Returns the outgoing Transition with index 'index'. |
NDFA.Transition[] |
toArray()
Returns all the Transitions from this State in order of preference in a fresh array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NDFA.State()
| Method Detail |
|---|
public int count()
public NDFA.Transition get(int index)
public NDFA.Transition[] toArray()
public void add(NDFA.Transition t)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||