Package org.assertj.core.util.diff.myers
Interface Equalizer<T>
- Type Parameters:
T- The type of the compared elements in the 'lines'.
public interface Equalizer<T>
Copy from https://code.google.com/p/java-diff-utils/.
Specifies when two compared elements in the Myers algorithm are equal.
-
Method Summary
-
Method Details
-
equals
Indicates if two elements are equal according to the diff mechanism.- Parameters:
original- The original element. Must not benull.revised- The revised element. Must not benull.- Returns:
- Returns true if the elements are equal.
-