|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A list that supports move.
| Method Summary | |
Object |
move(int newPosition,
int oldPosition)
Moves the object from the old position to the new position. |
void |
move(int newPosition,
Object object)
Moves the object to the new position, if is in the list. |
| 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 |
public void move(int newPosition,
Object object)
newPosition - the position of the object after the move.object - the object to move.
public Object 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-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||