Uses of Class
dk.brics.automaton.StringUnionOperations.State
-
-
Uses of StringUnionOperations.State in dk.brics.automaton
Fields in dk.brics.automaton declared as StringUnionOperations.State Modifier and Type Field Description private static StringUnionOperations.State[]
StringUnionOperations.State. NO_STATES
An empty set of states.private StringUnionOperations.State
StringUnionOperations. root
Root automaton state.(package private) StringUnionOperations.State[]
StringUnionOperations.State. states
States reachable from outgoing transitions.Fields in dk.brics.automaton with type parameters of type StringUnionOperations.State Modifier and Type Field Description private java.util.HashMap<StringUnionOperations.State,StringUnionOperations.State>
StringUnionOperations. register
"register" for state interning.private java.util.HashMap<StringUnionOperations.State,StringUnionOperations.State>
StringUnionOperations. register
"register" for state interning.Methods in dk.brics.automaton that return StringUnionOperations.State Modifier and Type Method Description StringUnionOperations.State
StringUnionOperations. complete()
Finalize the automaton and return the root state.static StringUnionOperations.State[]
StringUnionOperations.State. copyOf(StringUnionOperations.State[] original, int newLength)
JDK1.5-replacement ofArrays.copyOf(char[], int)
StringUnionOperations.State
StringUnionOperations.State. getState(char label)
Returns the target state of a transition leaving this state and labeled withlabel
.StringUnionOperations.State[]
StringUnionOperations.State. getStates()
Returns an array of outgoing transitions from this state.(package private) StringUnionOperations.State
StringUnionOperations.State. lastChild()
Return the most recent transitions's target state.(package private) StringUnionOperations.State
StringUnionOperations.State. lastChild(char label)
Return the associated state if the most recent transition is labeled withlabel
.(package private) StringUnionOperations.State
StringUnionOperations.State. newState(char label)
Create a new outgoing transition labeledlabel
and return the newly created target state for this transition.Methods in dk.brics.automaton with parameters of type StringUnionOperations.State Modifier and Type Method Description private void
StringUnionOperations. addSuffix(StringUnionOperations.State state, java.lang.CharSequence current, int fromIndex)
Add a suffix ofcurrent
starting atfromIndex
(inclusive) to statestate
.private static State
StringUnionOperations. convert(StringUnionOperations.State s, java.util.IdentityHashMap<StringUnionOperations.State,State> visited)
Internal recursive traversal for conversion.static StringUnionOperations.State[]
StringUnionOperations.State. copyOf(StringUnionOperations.State[] original, int newLength)
JDK1.5-replacement ofArrays.copyOf(char[], int)
(package private) void
StringUnionOperations.State. replaceLastChild(StringUnionOperations.State state)
Replace the last added outgoing transition's target state with the given state.private void
StringUnionOperations. replaceOrRegister(StringUnionOperations.State state)
Replace last child ofstate
with an already registered state or register the last child state.Method parameters in dk.brics.automaton with type arguments of type StringUnionOperations.State Modifier and Type Method Description private static State
StringUnionOperations. convert(StringUnionOperations.State s, java.util.IdentityHashMap<StringUnionOperations.State,State> visited)
Internal recursive traversal for conversion.
-