Class DFAWildcardTransition
- java.lang.Object
-
- org.apache.iotdb.commons.path.fa.dfa.transition.DFAWildcardTransition
-
- All Implemented Interfaces:
IFATransition
public class DFAWildcardTransition extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DFAWildcardTransition(int index, java.util.List<java.lang.String> rejectEventList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetAcceptEvent()intgetIndex()inthashCode()booleanisMatch(java.lang.String event)java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getAcceptEvent
public java.lang.String getAcceptEvent()
- Returns:
- the value of this transition, which is used to match the events
-
isMatch
public boolean isMatch(java.lang.String event)
- Parameters:
event- event happened on one of the source state of this transition and is trying to find the next state- Returns:
- whether this transition can match the event
-
getIndex
public int getIndex()
- Specified by:
getIndexin interfaceIFATransition
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-