difflib.myers
Interface Equalizer<T>


public interface Equalizer<T>

Specifies when two compared elements in the Myers algorithm are equal.


Method Summary
 boolean equals(T original, T revised)
          Indicates if two elements are equal according to the diff mechanism.
 

Method Detail

equals

boolean equals(T original,
               T revised)
Indicates if two elements are equal according to the diff mechanism.

Parameters:
original - The original element. Must not be null.
revised - The revised element. Must not be null.
Returns:
Returns true if the elements are equal.


Copyright © 2009-2013. All Rights Reserved.