Package com.day.util.diff
Class Diff
- java.lang.Object
 - 
- com.day.util.diff.Diff
 
 
- 
public class Diff extends java.lang.ObjectA class to compare vectors of objects. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDiff.ChangeThe result of the diff. 
- 
Field Summary
Fields Modifier and Type Field Description booleanheuristicDeprecated.booleanno_discardsDeprecated. 
- 
Constructor Summary
Constructors Constructor Description Diff(java.lang.Object[] a, java.lang.Object[] b)Constructor to find differences between two arrays. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Diff.Changediff_2(boolean reverse)Compute the difference between the 2 arrays. 
 - 
 
- 
- 
Field Detail
- 
heuristic
@Deprecated public boolean heuristic
Deprecated.When set to true, the comparison uses a heuristic to speed it up. With this heuristic, for files with a constant small density of changes, the algorithm is linear in the file size. 
- 
no_discards
@Deprecated public boolean no_discards
Deprecated.When set to true, the algorithm returns a guaranteed minimal set of changes. This makes things slower, sometimes much slower. 
 - 
 
- 
Method Detail
- 
diff_2
public Diff.Change diff_2(boolean reverse)
Compute the difference between the 2 arrays. 
 - 
 
 -