public class MoveableArrayList<E> extends ArrayList<E> implements MoveableList<E>
Whenever possible EMF's BasicEList should be used in favour of this list implementation.
modCount
Constructor and Description |
---|
MoveableArrayList(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
E |
move(int targetIndex,
int sourceIndex) |
void |
move(int newPosition,
Object object) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public void move(int newPosition, Object object)
public E move(int targetIndex, int sourceIndex)
move
in interface MoveableList<E>
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.