Top Description Methods
org.assertj.core.util.diff.myers

public Interface Equalizer<T>

Type Parameters
<T>
The type of the compared elements in the 'lines'.

Copy from https://code.google.com/p/java-diff-utils/.

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

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

Returns true if the elements are equal.
equals
(T
The original element. Must not be null.
original
,
T
The revised element. Must not be null.
revised
)

Indicates if two elements are equal according to the diff mechanism.

Method Detail

equalsback to summary
public boolean equals(T original, T revised)

Indicates if two elements are equal according to the diff mechanism.

Parameters
original:T

The original element. Must not be null.

revised:T

The revised element. Must not be null.

Returns:boolean

Returns true if the elements are equal.