org.eclipse.compare.rangedifferencer |
|
Java Source File Name | Type | Comment |
DifferencesIterator.java | Class | A custom iterator to iterate over a List of RangeDifferences . |
IRangeComparator.java | Interface | For breaking an object to compare into a sequence of comparable entities.
It is used by RangeDifferencer to find longest sequences of
matching and non-matching ranges.
For example, to compare two text documents and find longest common sequences
of matching and non-matching lines, the implementation must break the document
into lines. |
OldDifferencer.java | Class | The algorithm used is an objectified version of one described in:
A File Comparison Program, by Webb Miller and Eugene W. |
RangeComparatorLCS.java | Class | |
RangeDifference.java | Class | Description of a change between two or three ranges of comparable entities.
RangeDifference objects are the elements of a compare result returned from
the RangeDifferencer find* methods.
Clients use these objects as they are returned from the differencer.
This class is not intended to be instantiated or subclassed outside of the Compare framework.
Note: A range in the RangeDifference object is given as a start index
and length in terms of comparable entities. |
RangeDifferencer.java | Class | A RangeDifferencer finds the differences between two or three IRangeComparator s.
To use the differencer, clients provide an IRangeComparator
that breaks their input data into a sequence of comparable entities. |