| java.lang.Object wicket.util.diff.myers.MyersDiff
Constructor Summary | |
public | MyersDiff() Constructs an instance of the Myers differencing algorithm. |
Method Summary | |
public static PathNode | buildPath(Object[] orig, Object[] rev) Computes the minimum diffpath that expresses de differences between the
original and revised sequences, according to Gene Myers differencing
algorithm.
Parameters: orig - The original sequence. Parameters: rev - The revised sequence. | public static Revision | buildRevision(PathNode path, Object[] orig, Object[] rev) Constructs a
Revision from a difference path.
Parameters: path - The path. Parameters: orig - The original sequence. Parameters: rev - The revised sequence. | public Revision | diff(Object[] orig, Object[] rev) |
MyersDiff | public MyersDiff()(Code) | | Constructs an instance of the Myers differencing algorithm.
|
buildPath | public static PathNode buildPath(Object[] orig, Object[] rev) throws DifferentiationFailedException(Code) | | Computes the minimum diffpath that expresses de differences between the
original and revised sequences, according to Gene Myers differencing
algorithm.
Parameters: orig - The original sequence. Parameters: rev - The revised sequence. A minimum PathNode Path accross the differences graph. throws: DifferentiationFailedException - if a diff path could not be found. |
|
|