|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EList<E>
A list that supports move.
Method Summary | |
---|---|
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. |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Method Detail |
---|
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.
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |