Class DittoDiff.Move
java.lang.Object
com.ditto.java.DittoDiff.Move
- Enclosing class:
DittoDiff
Represents a move from one index in the old list to a new index in the updated list.
Used in DittoDiff.getMoves().
-
Method Summary
-
Method Details
-
getFrom
public int getFrom()The index in the old list the item moved from. -
getTo
public int getTo()The index in the new list the item moved to.
-