T - the value typepublic static interface OperatorReplay.VirtualList<T>
| Modifier and Type | Method and Description | 
|---|---|
| void | add(T value)Add an element to the list. | 
| void | clear()Clear the elements of this list and increase the
 start by the number of elements. | 
| int | end()Returns the current tail index of this list (where the next value would appear). | 
| T | get(int index)Retrieve an element at the specified logical index. | 
| void | removeBefore(int index)Remove elements up before the given logical index and move
 the start() to this index. | 
| void | reset()Clears and resets the indexes of the list. | 
| int | size() | 
| int | start()Returns the current head index of this list. | 
| java.util.List<T> | toList()Returns the current content as a list. | 
int size()
void add(T value)
value - the value to addT get(int index)
index - void removeBefore(int index)
For example, a list contains 3 items. Calling removeUntil 2 will remove the first two items.
index - void clear()
int start()
int end()
void reset()
java.util.List<T> toList()
List representation of this virtual list