net.innig.collect
Class ListDiff.Insert

java.lang.Object
  extended by net.innig.collect.ListDiff.Step
      extended by 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.


Constructor Summary
ListDiff.Insert(java.lang.Object object, int index)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class net.innig.collect.ListDiff.Step
getIndex, getObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListDiff.Insert

public ListDiff.Insert(java.lang.Object object,
                       int index)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object