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 EditMyersDiff.MiddleEdit. editprivate EditHistogramDiffIndex. lcsprivate EditHistogramDiffIndex. regionFields in org.eclipse.jgit.diff with type parameters of type Edit Modifier and Type Field Description private java.util.List<Edit>HistogramDiff.State. queueMethods in org.eclipse.jgit.diff that return Edit Modifier and Type Method Description EditEdit. after(Edit cut)Construct a new edit representing the region after cut.EditEdit. before(Edit cut)Construct a new edit representing the region before cut.(package private) EditMyersDiff.MiddleEdit. calculate(int beginA, int endA, int beginB, int endB)private static <S extends Sequence>
EditDiffAlgorithm. coverEdit(S a, S b)(package private) EditHistogramDiffIndex. findLongestCommonSequence()EditRawTextComparator. reduceCommonStartEnd(RawText a, RawText b, Edit e)Modify the edit to remove common leading and trailing items.EditSequenceComparator. 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.EditEdit. 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.EditEdit. before(Edit cut)Construct a new edit representing the region before cut.private voidMyersDiff. calculateEdits(Edit r)Entrypoint into the algorithm this class is all about.private voidHistogramDiff.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) voidHistogramDiff.State. diffRegion(Edit r)private voidHistogramDiff.State. diffReplace(Edit r)private static booleanDiffFormatter. end(Edit edit, int a, int b)EditRawTextComparator. reduceCommonStartEnd(RawText a, RawText b, Edit e)Modify the edit to remove common leading and trailing items.EditSequenceComparator. reduceCommonStartEnd(S a, S b, Edit e)Modify the edit to remove common leading and trailing items.static EditListEditList. 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 booleanDiffFormatter. combineA(java.util.List<Edit> e, int i)private booleanDiffFormatter. combineB(java.util.List<Edit> e, int i)private intDiffFormatter. 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 EditMergeAlgorithm. END_EDITMethods in org.eclipse.jgit.merge that return Edit Modifier and Type Method Description private static EditMergeAlgorithm. 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 booleanMergeAlgorithm. isEndEdit(Edit edit)Method parameters in org.eclipse.jgit.merge with type arguments of type Edit Modifier and Type Method Description private static EditMergeAlgorithm. nextEdit(java.util.Iterator<Edit> it)Helper method which returns the next Edit for an Iterator over Edits.
-