Comparing file contents by computing diffs.
Class Summary Class Description ContentSourceSupplies the content of a file for
ContentSource.PairA pair of sources to access the old and new sides of a DiffEntry. DiffAlgorithm DiffConfigKeeps track of diff related configuration options. DiffEntryA value class representing a change to a file DiffFormatterFormat a Git style patch script. EditA modified region detected between two versions of roughly the same content. EditListSpecialized list of
Edits in a document.
HashedSequence<S extends Sequence>Wraps a
Sequenceto assign hash codes to elements.
HashedSequenceComparator<S extends Sequence>Wrap another comparator for use with
HashedSequencePair<S extends Sequence>Wraps two
Sequenceinstances to cache their element hash codes.
HistogramDiffAn extended form of Bram Cohen's patience diff algorithm. LowLevelDiffAlgorithmCompares two sequences primarily based upon hash codes. MyersDiff<S extends Sequence>Diff algorithm, based on "An O(ND) Difference Algorithm and its Variations", by Eugene Myers. PatchIdDiffFormatterA DiffFormatter used to calculate the patch-id of the diff. RawTextA Sequence supporting UNIX formatted text in byte format. RawTextComparatorEquivalence function for
RenameDetectorDetect and resolve object renames. SequenceArbitrary sequence of elements. SequenceComparator<S extends Sequence>Equivalence function for a
Sequencecompared by difference algorithm.
SimilarityIndexIndex structure of lines/blocks in one file. Subsequence<S extends Sequence>Wraps a
Sequenceto have a narrower range of elements.
SubsequenceComparator<S extends Sequence>Wrap another comparator for use with
Enum Summary Enum Description DiffAlgorithm.SupportedAlgorithmSupported diff algorithm DiffConfig.RenameDetectionTypePermissible values for
DiffEntry.ChangeTypeGeneral type of change a single file-level patch describes. DiffEntry.SideSpecify the old or new side for more generalized access. Edit.TypeType of edit
Exception Summary Exception Description SimilarityIndex.TableFullExceptionThrown by
create()when file is too large.