Uses of Class
org.eclipse.jgit.diff.Edit
Packages that use Edit
Package
Description
Comparing file contents by computing diffs.
Content and commit history merge algorithms.
-
Uses of Edit in org.eclipse.jgit.diff
Fields in org.eclipse.jgit.diff declared as EditModifier and TypeFieldDescriptionprotected Edit
MyersDiff.MiddleEdit.edit
private Edit
HistogramDiffIndex.lcs
private final Edit
HistogramDiffIndex.region
Fields in org.eclipse.jgit.diff with type parameters of type EditMethods in org.eclipse.jgit.diff that return EditModifier and TypeMethodDescriptionfinal Edit
Construct a new edit representing the region after cut.final Edit
Construct a new edit representing the region before cut.(package private) Edit
MyersDiff.MiddleEdit.calculate
(int beginA, int endA, int beginB, int endB) DiffAlgorithm.coverEdit
(S a, S b) (package private) Edit
HistogramDiffIndex.findLongestCommonSequence()
RawTextComparator.reduceCommonStartEnd
(RawText a, RawText b, Edit e) Modify the edit to remove common leading and trailing items.SequenceComparator.reduceCommonStartEnd
(S a, S b, Edit e) Modify the edit to remove common leading and trailing items.Methods in org.eclipse.jgit.diff with parameters of type EditModifier and TypeMethodDescriptionstatic <S extends Sequence>
Subsequence<S> Construct a subsequence around the A region/base sequence.final Edit
Construct a new edit representing the region after cut.static <S extends Sequence>
Subsequence<S> Construct a subsequence around the B region/base sequence.final Edit
Construct a new edit representing the region before cut.private void
MyersDiff.calculateEdits
(Edit r) Entrypoint into the algorithm this class is all about.private void
<S extends Sequence>
voidHistogramDiff.diffNonCommon
(EditList edits, HashedSequenceComparator<S> cmp, HashedSequence<S> a, HashedSequence<S> b, Edit region) Compare two sequences and identify a list of edits between them.abstract <S extends Sequence>
voidLowLevelDiffAlgorithm.diffNonCommon
(EditList edits, HashedSequenceComparator<S> cmp, HashedSequence<S> a, HashedSequence<S> b, Edit region) Compare two sequences and identify a list of edits between them.(package private) void
HistogramDiff.State.diffRegion
(Edit r) private void
HistogramDiff.State.diffReplace
(Edit r) private static boolean
RawTextComparator.reduceCommonStartEnd
(RawText a, RawText b, Edit e) Modify the edit to remove common leading and trailing items.SequenceComparator.reduceCommonStartEnd
(S a, S b, Edit e) Modify the edit to remove common leading and trailing items.static EditList
Construct an edit list containing a single edit.static <S extends Sequence>
voidSubsequence.toBase
(Edit e, Subsequence<S> a, Subsequence<S> b) Adjust the Edit to reflect positions in the base sequence.Method parameters in org.eclipse.jgit.diff with type arguments of type EditModifier and TypeMethodDescriptionprivate boolean
private boolean
private int
DiffFormatter.findCombinedEnd
(List<Edit> edits, int i) Constructors in org.eclipse.jgit.diff with parameters of type EditModifierConstructorDescription(package private)
HistogramDiffIndex
(int maxChainLength, HashedSequenceComparator<S> cmp, HashedSequence<S> a, HashedSequence<S> b, Edit r) private
MyersDiff
(EditList edits, HashedSequenceComparator<S> cmp, HashedSequence<S> a, HashedSequence<S> b, Edit region) -
Uses of Edit in org.eclipse.jgit.merge
Fields in org.eclipse.jgit.merge declared as EditMethods in org.eclipse.jgit.merge that return EditModifier and TypeMethodDescriptionprivate static Edit
Helper method which returns the next Edit for an Iterator over Edits.Methods in org.eclipse.jgit.merge with parameters of type EditMethod parameters in org.eclipse.jgit.merge with type arguments of type Edit