net.innig.collect
Class ListDiff.Insert
java.lang.Object
net.innig.collect.ListDiff.Step
net.innig.collect.ListDiff.Insert
- Enclosing class:
- ListDiff
public final class ListDiff.Insert
- extends ListDiff.Step
A list transformation step: insert an object at a given position.
After the step, the length of the list has increased by one, and the
item which was at index is now at index+1.
|
Method Summary |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ListDiff.Insert
public ListDiff.Insert(java.lang.Object object,
int index)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object