Interface AbstractState<S extends AbstractState<S,T>,T extends AbstractTransition<S,T>>

All Known Implementing Classes:
AtomicGroup, BackReference, BasicState, CharacterClass, ConditionalBackReferenceGroup, DFAStateNodeBuilder, Group, LookAheadAssertion, LookAroundAssertion, LookBehindAssertion, MatchFound, NFAState, PositionAssertion, PureNFAState, QuantifiableTerm, RegexASTRootNode, RegexASTSubtreeRootNode, SubexpressionCall, Term

public interface AbstractState<S extends AbstractState<S,T>,T extends AbstractTransition<S,T>>
Abstract base interface for states of an automaton.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Unique ID of this state.
  • Method Details

    • getId

      int getId()
      Unique ID of this state. Uniqueness holds only for the automaton the state belongs to.