|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.view.internal.PriorEventViewFactory.RelativeAccessImpl
public static class PriorEventViewFactory.RelativeAccessImpl
Adapter to provide access given an index.
Constructor Summary | |
---|---|
PriorEventViewFactory.RelativeAccessImpl(RelativeAccessByEventNIndex buffer,
int relativeIndex)
Ctor. |
Method Summary | |
---|---|
EventBean |
getRelativeToEvent(EventBean event,
int prevIndex)
Returns the prior event to the given event counting back the number of events as supplied by index. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PriorEventViewFactory.RelativeAccessImpl(RelativeAccessByEventNIndex buffer, int relativeIndex)
buffer
- is the buffer to accesrelativeIndex
- is the index to pull outMethod Detail |
---|
public EventBean getRelativeToEvent(EventBean event, int prevIndex)
RelativeAccessByEventNIndex
getRelativeToEvent
in interface RelativeAccessByEventNIndex
event
- is the event to count back fromprevIndex
- is the number of events to go back
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |