public interface EList<E>
extends java.util.List<E>
Modifier and Type | Method and Description |
---|---|
void |
move(int newPosition,
E object)
Moves the object to the new position, if is in the list.
|
E |
move(int newPosition,
int oldPosition)
Moves the object from the old position to the new position.
|
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
void move(int newPosition, E object)
newPosition
- the position of the object after the move.object
- the object to move.E move(int newPosition, int oldPosition)
newPosition
- the position of the object after the move.oldPosition
- the position of the object before the move.