com.espertech.esper.rowregex
Class RegexPartitionStateRepoScheduleStateImpl
java.lang.Object
com.espertech.esper.rowregex.RegexPartitionStateRepoScheduleStateImpl
- All Implemented Interfaces:
- RegexPartitionStateRepoScheduleState
public class RegexPartitionStateRepoScheduleStateImpl
- extends java.lang.Object
- implements RegexPartitionStateRepoScheduleState
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexPartitionStateRepoScheduleStateImpl
public RegexPartitionStateRepoScheduleStateImpl(RegexPartitionTerminationStateComparator terminationStateCompare)
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface RegexPartitionStateRepoScheduleState
putOrAdd
public boolean putOrAdd(long matchBeginTime,
RegexNFAStateEntry state)
- Description copied from interface:
RegexPartitionStateRepoScheduleState
- Add entry returning true if the key did not exist.
- Specified by:
putOrAdd
in interface RegexPartitionStateRepoScheduleState
- Parameters:
matchBeginTime
- keystate
- entry
- Returns:
- indicator
get
public java.lang.Object get(long matchBeginTime)
firstKey
public long firstKey()
- Specified by:
firstKey
in interface RegexPartitionStateRepoScheduleState
removeAddRemoved
public void removeAddRemoved(long matchBeginTime,
java.util.List<RegexNFAStateEntry> foundStates)
- Specified by:
removeAddRemoved
in interface RegexPartitionStateRepoScheduleState
containsKey
public boolean containsKey(long matchBeginTime)
- Specified by:
containsKey
in interface RegexPartitionStateRepoScheduleState
findRemoveAddToList
public boolean findRemoveAddToList(long matchBeginTime,
RegexNFAStateEntry state,
java.util.List<RegexNFAStateEntry> foundStates)
- Description copied from interface:
RegexPartitionStateRepoScheduleState
- Find and remove operation, wherein removed items are added to the found list,
returning an indicator whether the item was found and removed
- Specified by:
findRemoveAddToList
in interface RegexPartitionStateRepoScheduleState
- Parameters:
matchBeginTime
- keystate
- entryfoundStates
- list to be added to
- Returns:
- indicator whether any item was found and removed