Uses of Class
org.eclipse.jgit.diff.Edit
-
Packages that use Edit Package Description org.eclipse.jgit.diff Comparing file contents by computing diffs.org.eclipse.jgit.merge Content and commit history merge algorithms. -
-
Uses of Edit in org.eclipse.jgit.diff
Fields in org.eclipse.jgit.diff declared as Edit Modifier and Type Field Description protected Edit
MyersDiff.MiddleEdit. edit
private Edit
HistogramDiffIndex. lcs
private Edit
HistogramDiffIndex. region
Fields in org.eclipse.jgit.diff with type parameters of type Edit Modifier and Type Field Description private java.util.List<Edit>
HistogramDiff.State. queue
Methods in org.eclipse.jgit.diff that return Edit Modifier and Type Method Description Edit
Edit. after(Edit cut)
Construct a new edit representing the region after cut.Edit
Edit. before(Edit cut)
Construct a new edit representing the region before cut.(package private) Edit
MyersDiff.MiddleEdit. calculate(int beginA, int endA, int beginB, int endB)
private static <S extends Sequence>
EditDiffAlgorithm. coverEdit(S a, S b)
(package private) Edit
HistogramDiffIndex. findLongestCommonSequence()
Edit
RawTextComparator. reduceCommonStartEnd(RawText a, RawText b, Edit e)
Modify the edit to remove common leading and trailing items.Edit
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 Edit Modifier and Type Method Description static <S extends Sequence>
Subsequence<S>Subsequence. a(S a, Edit region)
Construct a subsequence around the A region/base sequence.Edit
Edit. after(Edit cut)
Construct a new edit representing the region after cut.static <S extends Sequence>
Subsequence<S>Subsequence. b(S b, Edit region)
Construct a subsequence around the B region/base sequence.Edit
Edit. before(Edit cut)
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
HistogramDiff.State. diff(Edit r)
<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
DiffFormatter. end(Edit edit, int a, int b)
Edit
RawTextComparator. reduceCommonStartEnd(RawText a, RawText b, Edit e)
Modify the edit to remove common leading and trailing items.Edit
SequenceComparator. reduceCommonStartEnd(S a, S b, Edit e)
Modify the edit to remove common leading and trailing items.static EditList
EditList. singleton(Edit edit)
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 Edit Modifier and Type Method Description private boolean
DiffFormatter. combineA(java.util.List<Edit> e, int i)
private boolean
DiffFormatter. combineB(java.util.List<Edit> e, int i)
private int
DiffFormatter. findCombinedEnd(java.util.List<Edit> edits, int i)
Constructors in org.eclipse.jgit.diff with parameters of type Edit Constructor Description HistogramDiffIndex(int maxChainLength, HashedSequenceComparator<S> cmp, HashedSequence<S> a, HashedSequence<S> b, Edit r)
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 Edit Modifier and Type Field Description private static Edit
MergeAlgorithm. END_EDIT
Methods in org.eclipse.jgit.merge that return Edit Modifier and Type Method Description private static Edit
MergeAlgorithm. nextEdit(java.util.Iterator<Edit> it)
Helper method which returns the next Edit for an Iterator over Edits.Methods in org.eclipse.jgit.merge with parameters of type Edit Modifier and Type Method Description private static boolean
MergeAlgorithm. isEndEdit(Edit edit)
Method parameters in org.eclipse.jgit.merge with type arguments of type Edit Modifier and Type Method Description private static Edit
MergeAlgorithm. nextEdit(java.util.Iterator<Edit> it)
Helper method which returns the next Edit for an Iterator over Edits.
-