Class FastLookupList<T>

java.lang.Object
java.util.AbstractCollection<T>
java.util.AbstractList<T>
de.monticore.tf.runtime.FastLookupList<T>
Type Parameters:
T - type of the list
All Implemented Interfaces:
Iterable<T>, Collection<T>, List<T>, SequencedCollection<T>

public class FastLookupList<T> extends AbstractList<T>
A sliding range, read-only window of list. Alternative to myList = new ArrayList(list); myList.remove(0); Calling remove(int) of this class instead moves the read-window ahead. Does not support updates to the underlying list.