T
- The type of the compared elements in the 'lines'.public interface DiffAlgorithm<T>
The general interface for computing diffs between two lists of elements of type T.
Modifier and Type | Method and Description |
---|---|
Patch<T> |
diff(List<T> original,
List<T> revised)
Computes the difference between the original sequence and the revised
sequence and returns it as a
Patch object. |
Patch<T> diff(List<T> original, List<T> revised)
Patch
object.original
- The original sequence. Must not be null
.revised
- The revised sequence. Must not be null
.null
.Copyright © 2014–2019 AssertJ. All rights reserved.