public interface DiffAlgorithm
Modifier and Type | Method and Description |
---|---|
Revision |
diff(Object[] orig,
Object[] rev)
Computes the difference between the original sequence and the revised sequence and returns it
as a org.suigeneris.jrcs.diff.Revision Revision object.
|
Revision diff(Object[] orig, Object[] rev) throws DifferentiationFailedException
The revision can be used to construct the revised sequence from the original sequence.
orig
- rev
- the revised textDifferentiationFailedException
- if the diff could not be computed.Copyright © 2006–2022 Apache Software Foundation. All rights reserved.