Package ca.phon.fsa
Class AnythingTransition<T>
java.lang.Object
ca.phon.fsa.FSATransition<T>
ca.phon.fsa.AnythingTransition<T>
- Type Parameters:
T
-
Always returns
true
, this special transition
gets lowest priority (if it exists) when then FSA runs so
that other transitions may match first.-
Constructor Summary
-
Method Summary
Methods inherited from class ca.phon.fsa.FSATransition
copyTransitionInfo, getFirstState, getImage, getInitGroups, getMatcherGroups, getMatchLength, getOffsetType, getToState, getType, setFirstState, setImage, setOffsetType, setToState, setType, setupTransition
-
Constructor Details
-
AnythingTransition
public AnythingTransition()
-
-
Method Details
-
follow
Description copied from class:FSATransition
Determines if the fsa will follow the transition given the current running state.- Specified by:
follow
in classFSATransition<T>
- Parameters:
obj
- the current machine state- Returns:
true
if this transition can be followed given the current state,false
otherwise
-