Class RandomAccessByIndexGetter
java.lang.Object
com.espertech.esper.common.internal.view.access.RandomAccessByIndexGetter
- All Implemented Interfaces:
RandomAccessByIndexObserver
,PreviousGetterStrategy
public class RandomAccessByIndexGetter
extends Object
implements RandomAccessByIndexObserver, PreviousGetterStrategy
Getter that provides an index at runtime.
-
Field Summary
Fields inherited from interface com.espertech.esper.common.internal.view.previous.PreviousGetterStrategy
EMPTY_ARRAY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the index for access.void
updated
(RandomAccessByIndex randomAccessByIndex) Callback to indicate an update
-
Field Details
-
EPTYPE
-
-
Constructor Details
-
RandomAccessByIndexGetter
public RandomAccessByIndexGetter()
-
-
Method Details
-
getAccessor
Returns the index for access.- Returns:
- index
-
updated
Description copied from interface:RandomAccessByIndexObserver
Callback to indicate an update- Specified by:
updated
in interfaceRandomAccessByIndexObserver
- Parameters:
randomAccessByIndex
- is the collection
-
getStrategy
- Specified by:
getStrategy
in interfacePreviousGetterStrategy
-