Package org.eclipse.jgit.diff
Class MyersDiff.MiddleEdit
java.lang.Object
org.eclipse.jgit.diff.MyersDiff.MiddleEdit
A class to help bisecting the sequences a and b to find minimal
edit paths.
As the arrays are reused for space efficiency, you will need one
instance per thread.
The entry function is the calculate() method.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class
(package private) class
(package private) class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) Edit
calculate
(int beginA, int endA, int beginB, int endB) (package private) void
initialize
(int beginA, int endA, int beginB, int endB)
-
Field Details
-
forward
MyersDiff<S extends Sequence>.MiddleEdit.EditPaths forward -
backward
MyersDiff<S extends Sequence>.MiddleEdit.EditPaths backward -
beginA
protected int beginA -
endA
protected int endA -
beginB
protected int beginB -
endB
protected int endB -
edit
-
-
Constructor Details
-
MiddleEdit
MiddleEdit()
-
-
Method Details
-
initialize
void initialize(int beginA, int endA, int beginB, int endB) -
calculate
-