Interface RowRecogPartitionStateRepoScheduleState
- All Known Implementing Classes:
RowRecogPartitionStateRepoScheduleStateImpl
public interface RowRecogPartitionStateRepoScheduleState
Service for holding schedule state.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(long matchBeginTime) boolean
findRemoveAddToList
(long matchBeginTime, RowRecogNFAStateEntry state, List<RowRecogNFAStateEntry> foundStates) Find and remove operation, wherein removed items are added to the found list, returning an indicator whether the item was found and removedlong
firstKey()
boolean
isEmpty()
boolean
putOrAdd
(long matchBeginTime, RowRecogNFAStateEntry state) Add entry returning true if the key did not exist.void
removeAddRemoved
(long matchBeginTime, List<RowRecogNFAStateEntry> foundStates)
-
Method Details
-
isEmpty
boolean isEmpty() -
putOrAdd
Add entry returning true if the key did not exist.- Parameters:
matchBeginTime
- keystate
- entry- Returns:
- indicator
-
firstKey
long firstKey() -
removeAddRemoved
-
containsKey
boolean containsKey(long matchBeginTime) -
findRemoveAddToList
boolean findRemoveAddToList(long matchBeginTime, RowRecogNFAStateEntry state, List<RowRecogNFAStateEntry> foundStates) Find and remove operation, wherein removed items are added to the found list, returning an indicator whether the item was found and removed- Parameters:
matchBeginTime
- keystate
- entryfoundStates
- list to be added to- Returns:
- indicator whether any item was found and removed
-