Go to the documentation of this file.
9 package javolution.util.internal.table;
11 import java.util.Collection;
12 import java.util.Iterator;
13 import java.util.ListIterator;
42 public boolean addAll(
int index, Collection<? extends E> c) {
45 return target().addAll(index, c);
82 public E
get(
int index) {
85 return target().get(index);
95 return target().getFirst();
105 return target().getLast();
123 return target().listIterator(0);
138 return target().listIterator(0);
155 return target().offerFirst(e);
165 return target().offerLast(e);
180 return target().peekFirst();
190 return target().peekLast();
205 return target().pollFirst();
215 return target().pollLast();
237 public E
remove(
int index) {
240 return target().remove(index);
250 return target().removeFirst();
260 return target().removeFirstOccurrence(o);
270 return target().removeLast();
280 return target().removeLastOccurrence(o);
boolean addAll(int index, Collection<? extends E > c)
ListIterator< E > iterator()
TableService< E > threadSafe()
int lastIndexOf(Object element)
final WriteLock writeLock
CollectionService< E >[] split(int n)
ListIterator< E > listIterator()
static< E > CollectionService< E >[] splitOf(TableService< E > table, int n)
ListIterator< E > listIterator(int index)
SharedTableImpl(TableService< E > target)
Iterator< E > descendingIterator()
static final long serialVersionUID
int indexOf(Object element)
TableService< E > subList(int fromIndex, int toIndex)
boolean removeLastOccurrence(Object o)
void add(int index, E element)
TableService< E > target()
boolean removeFirstOccurrence(Object o)