net.esper.view.window
Class RandomAccessByIndexGetter

java.lang.Object
  extended by net.esper.view.window.RandomAccessByIndexGetter
All Implemented Interfaces:
IStreamSortedRandomAccess.IStreamRandomAccessUpdateObserver, IStreamRandomAccess.IStreamRandomAccessUpdateObserver

public class RandomAccessByIndexGetter
extends Object
implements IStreamRandomAccess.IStreamRandomAccessUpdateObserver, IStreamSortedRandomAccess.IStreamRandomAccessUpdateObserver

Getter that provides an index at runtime.


Constructor Summary
RandomAccessByIndexGetter()
           
 
Method Summary
 RandomAccessByIndex getAccessor()
          Returns the index for access.
 void updated(IStreamRandomAccess iStreamRandomAccess)
          Callback to indicate an update
 void updated(IStreamSortedRandomAccess iStreamSortedRandomAccess)
          Callback to indicate an update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomAccessByIndexGetter

public RandomAccessByIndexGetter()
Method Detail

getAccessor

public RandomAccessByIndex getAccessor()
Returns the index for access.

Returns:
index

updated

public void updated(IStreamRandomAccess iStreamRandomAccess)
Description copied from interface: IStreamRandomAccess.IStreamRandomAccessUpdateObserver
Callback to indicate an update

Specified by:
updated in interface IStreamRandomAccess.IStreamRandomAccessUpdateObserver
Parameters:
iStreamRandomAccess - is the collection

updated

public void updated(IStreamSortedRandomAccess iStreamSortedRandomAccess)
Description copied from interface: IStreamSortedRandomAccess.IStreamRandomAccessUpdateObserver
Callback to indicate an update

Specified by:
updated in interface IStreamSortedRandomAccess.IStreamRandomAccessUpdateObserver
Parameters:
iStreamSortedRandomAccess - is the collection