# Uses of Interface
org.eclipse.compare.rangedifferencer.IRangeComparator

Packages that use IRangeComparator
Package
Description
org.eclipse.compare.contentmergeviewer
Support for compare and merge viewers which show the content side-by-side.
org.eclipse.compare.rangedifferencer
Provides support for finding the differences between two or three sequences of comparable entities.

## Uses of IRangeComparator in org.eclipse.compare.contentmergeviewer

Subinterfaces of IRangeComparator in org.eclipse.compare.contentmergeviewer
Modifier and Type
Interface
Description
`interface`
`ITokenComparator`
For performing a so-called "token compare" on a line of text.
Classes in org.eclipse.compare.contentmergeviewer that implement IRangeComparator
Modifier and Type
Class
Description
`class`
`TokenComparator`
Implements the `ITokenComparator` interface for words (or tokens) in a string.
Methods in org.eclipse.compare.contentmergeviewer with parameters of type IRangeComparator
Modifier and Type
Method
Description
`boolean`
TokenComparator.`rangesEqual(int thisIndex, IRangeComparator other, int otherIndex)`
`boolean`
TokenComparator.`skipRangeComparison(int length, int max, IRangeComparator other)`

## Uses of IRangeComparator in org.eclipse.compare.rangedifferencer

Methods in org.eclipse.compare.rangedifferencer with parameters of type IRangeComparator
Modifier and Type
Method
Description
`static RangeDifference[]`
RangeDifferencer.`findDifferences(AbstractRangeDifferenceFactory factory, IProgressMonitor pm, IRangeComparator left, IRangeComparator right)`
Finds the differences between two `IRangeComparator`s.
`static RangeDifference[]`
RangeDifferencer.`findDifferences(AbstractRangeDifferenceFactory factory, IProgressMonitor pm, IRangeComparator ancestor, IRangeComparator left, IRangeComparator right)`
Finds the differences among three `IRangeComparator`s.
`static RangeDifference[]`
RangeDifferencer.`findDifferences(IRangeComparator left, IRangeComparator right)`
Finds the differences between two `IRangeComparator`s.
`static RangeDifference[]`
RangeDifferencer.`findDifferences(IRangeComparator ancestor, IRangeComparator left, IRangeComparator right)`
Finds the differences among three `IRangeComparator`s.
`static RangeDifference[]`
RangeDifferencer.`findDifferences(IProgressMonitor pm, IRangeComparator left, IRangeComparator right)`
Finds the differences between two `IRangeComparator`s.
`static RangeDifference[]`
RangeDifferencer.`findDifferences(IProgressMonitor pm, IRangeComparator ancestor, IRangeComparator left, IRangeComparator right)`
Finds the differences among three `IRangeComparator`s.
`static RangeDifference[]`
RangeDifferencer.`findRanges(AbstractRangeDifferenceFactory factory, IProgressMonitor pm, IRangeComparator left, IRangeComparator right)`
Finds the differences among two `IRangeComparator`s.
`static RangeDifference[]`
RangeDifferencer.`findRanges(AbstractRangeDifferenceFactory factory, IProgressMonitor pm, IRangeComparator ancestor, IRangeComparator left, IRangeComparator right)`
Finds the differences among three `IRangeComparator`s.
`static RangeDifference[]`
RangeDifferencer.`findRanges(IRangeComparator left, IRangeComparator right)`
Finds the differences among two `IRangeComparator`s.
`static RangeDifference[]`
RangeDifferencer.`findRanges(IRangeComparator ancestor, IRangeComparator left, IRangeComparator right)`
Finds the differences among three `IRangeComparator`s.
`static RangeDifference[]`
RangeDifferencer.`findRanges(IProgressMonitor pm, IRangeComparator left, IRangeComparator right)`
Finds the differences among two `IRangeComparator`s.
`static RangeDifference[]`
RangeDifferencer.`findRanges(IProgressMonitor pm, IRangeComparator ancestor, IRangeComparator left, IRangeComparator right)`
Finds the differences among three `IRangeComparator`s.
`boolean`
IRangeComparator.`rangesEqual(int thisIndex, IRangeComparator other, int otherIndex)`
Returns whether the comparable entity given by the first index matches an entity specified by the other `IRangeComparator` and index.
`boolean`
IRangeComparator.`skipRangeComparison(int length, int maxLength, IRangeComparator other)`
Returns whether a comparison should be skipped because it would be too costly (or lengthy).