public class RowRecogStateRandomAccessImpl extends Object implements RowRecogStateRandomAccess
Constructor and Description |
---|
RowRecogStateRandomAccessImpl(RowRecogPreviousStrategyImpl getter)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
existingEventPrepare(EventBean newEvent)
Prepare relative to existing event, for iterating.
|
EventBean |
getPreviousEvent(int assignedRelativeIndex)
Returns a previous event.
|
boolean |
isEmpty()
Returns true for empty collection.
|
void |
newEventPrepare(EventBean newEvent)
Add new event.
|
void |
remove(EventBean oldEvent)
Remove event.
|
void |
remove(EventBean[] oldEvents)
Remove events.
|
public RowRecogStateRandomAccessImpl(RowRecogPreviousStrategyImpl getter)
getter
- for accesspublic void newEventPrepare(EventBean newEvent)
newEventPrepare
in interface RowRecogStateRandomAccess
newEvent
- to addpublic void existingEventPrepare(EventBean newEvent)
existingEventPrepare
in interface RowRecogStateRandomAccess
newEvent
- to consider for indexpublic EventBean getPreviousEvent(int assignedRelativeIndex)
getPreviousEvent
in interface RowRecogStateRandomAccess
assignedRelativeIndex
- indexpublic void remove(EventBean[] oldEvents)
remove
in interface RowRecogStateRandomAccess
oldEvents
- to removepublic void remove(EventBean oldEvent)
remove
in interface RowRecogStateRandomAccess
oldEvent
- to removepublic boolean isEmpty()
isEmpty
in interface RowRecogStateRandomAccess
Copyright © 2005–2018. All rights reserved.