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, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
public void move(int newPosition, Object object)
public E move(int targetIndex, int sourceIndex)
move
in interface MoveableList<E>
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.