|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface FSA.Arc
An arc (a labelled transition between two nodes) of the FSA. The operations of this interface should be implemented by all version-specific implementations.
Method Summary | |
---|---|
FSA.Node |
getDestinationNode()
Returns the destination node, pointed to by this arc. |
byte |
getLabel()
Returns the label of this arc. |
boolean |
isFinal()
|
boolean |
isLast()
|
boolean |
isTerminal()
|
Method Detail |
---|
FSA.Node getDestinationNode()
RuntimeException
on this method.
byte getLabel()
boolean isFinal()
true
if the destination node corresponds to an input
sequence of this automaton.boolean isLast()
true
if this arc is the last one of the owner node's
arcs.boolean isTerminal()
true
if this arc does not have a terminating FSA.Node
,
a call to getDestinationNode()
should thrown an exception on this arc.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |