public class RegexNFAStateAnyOne extends RegexNFAStateBase implements RegexNFAState
Constructor and Description |
---|
RegexNFAStateAnyOne(String nodeNum,
String variableName,
int streamNum,
boolean multiple)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isExprRequiresMultimatchState()
Whether or not the match-expression requires multimatch state
|
boolean |
matches(EventBean[] eventsPerStream,
ExprEvaluatorContext exprEvaluatorContext)
Evaluate a match.
|
String |
toString() |
addState, getNextStates, getNodeNumFlat, getNodeNumNested, getStreamNum, getVariableName, isGreedy, isMultiple, setNodeNumFlat
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getNextStates, getNodeNumFlat, getNodeNumNested, getStreamNum, getVariableName, isGreedy, isMultiple
public boolean matches(EventBean[] eventsPerStream, ExprEvaluatorContext exprEvaluatorContext)
RegexNFAState
matches
in interface RegexNFAState
eventsPerStream
- variabele valuesexprEvaluatorContext
- expression evaluation contextpublic boolean isExprRequiresMultimatchState()
RegexNFAState
isExprRequiresMultimatchState
in interface RegexNFAState