public class MoveableArrayList<E> extends java.util.ArrayList<E> implements MoveableList<E>
Whenever possible EMF's BasicEList should be used in favour of this list implementation.
Constructor and Description |
---|
MoveableArrayList(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
E |
move(int targetIndex,
int sourceIndex) |
void |
move(int newPosition,
java.lang.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
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
public void move(int newPosition, java.lang.Object object)
public E move(int targetIndex, int sourceIndex)
move
in interface MoveableList<E>
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html