public interface RegexPartitionStateRepoScheduleState
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(long matchBeginTime) |
boolean |
findRemoveAddToList(long matchBeginTime,
RegexNFAStateEntry state,
List<RegexNFAStateEntry> foundStates)
Find and remove operation, wherein removed items are added to the found list,
returning an indicator whether the item was found and removed
|
long |
firstKey() |
boolean |
isEmpty() |
boolean |
putOrAdd(long matchBeginTime,
RegexNFAStateEntry state)
Add entry returning true if the key did not exist.
|
void |
removeAddRemoved(long matchBeginTime,
List<RegexNFAStateEntry> foundStates) |
boolean isEmpty()
boolean putOrAdd(long matchBeginTime, RegexNFAStateEntry state)
matchBeginTime
- keystate
- entrylong firstKey()
void removeAddRemoved(long matchBeginTime, List<RegexNFAStateEntry> foundStates)
boolean containsKey(long matchBeginTime)
boolean findRemoveAddToList(long matchBeginTime, RegexNFAStateEntry state, List<RegexNFAStateEntry> foundStates)
matchBeginTime
- keystate
- entryfoundStates
- list to be added to