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) 2014 Eike Stepper (Berlin, 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