Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## morfologik.fsa.core
Interface FSA.Arc

Enclosing class:
  FSA

    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

### getDestinationNode

    FSA.Node getDestinationNode()

  Returns the destination node, pointed to by this arc. Terminal nodes throw a `RuntimeException` on this method.

### getLabel

    byte getLabel()

  Returns the label of this arc.

### isFinal

    boolean isFinal()

  Returns:
    Returns `true` if the destination node corresponds to an input sequence of this automaton.
  Since:
    1.0.5

### isLast

    boolean isLast()

  Returns:
    Returns `true` if this arc is the last one of the owner node's arcs.
  Since:
    1.0.5

### isTerminal

    boolean isTerminal()

  Returns:
    Returns `true` if this arc does not have a terminating `FSA.Node`, a call to `getDestinationNode()` should thrown an exception on this arc.
  Since:
    1.0.5

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD