public class HistogramDiff<T> extends Object implements DiffAlgorithm<T>
| Constructor and Description |
|---|
HistogramDiff() |
| Modifier and Type | Method and Description |
|---|---|
List<Change> |
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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdiffpublic List<Change> diff(List<T> original, List<T> revised) throws DiffException
DiffAlgorithmPatch
object.diff in interface DiffAlgorithm<T>original - The original sequence. Must not be null.revised - The revised sequence. Must not be null.null.DiffExceptionCopyright © 2009–2017 java-diff-utils. All rights reserved.