org.eidola.util
Class ListDiff.Move
java.lang.Object
|
+--org.eidola.util.ListDiff.Step
|
+--org.eidola.util.ListDiff.Move
- Enclosing class:
- ListDiff
- public class ListDiff.Move
- extends ListDiff.Step
A list transformation step: move an object from one position to another.
Before the move, object
is at index
;
after the move, object
is at toIndex
.
Items in the list between index
and toIndex
shift
over one position to accomodate the move.
ListDiff.Move
public ListDiff.Move(Object object,
int index,
int toIndex)
getToIndex
public int getToIndex()
toString
public String toString()
- Overrides:
toString
in class Object