Eidola home

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.


Constructor Summary
ListDiff.Move(Object object, int index, int toIndex)
           
 
Method Summary
 int getToIndex()
           
 String toString()
           
 
Methods inherited from class org.eidola.util.ListDiff.Step
getIndex, getObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListDiff.Move

public ListDiff.Move(Object object,
                     int index,
                     int toIndex)
Method Detail

getToIndex

public int getToIndex()

toString

public String toString()
Overrides:
toString in class Object

Eidola home