net.innig.collect
Class ListDiff.Move
java.lang.Object
net.innig.collect.ListDiff.Step
net.innig.collect.ListDiff.Move
- Enclosing class:
- ListDiff
public final 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.
|
Constructor Summary |
ListDiff.Move(java.lang.Object object,
int index,
int toIndex)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ListDiff.Move
public ListDiff.Move(java.lang.Object object,
int index,
int toIndex)
getToIndex
public int getToIndex()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object