public class LineBlock
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator<LineBlock> |
COMPARATOR |
Constructor and Description |
---|
LineBlock(int startingLine1,
int modifiedLines1,
int startingLine2,
int modifiedLines2,
TextDiffTypeEnum blockType) |
Modifier and Type | Method and Description |
---|---|
protected int |
getEndLine1() |
protected int |
getEndLine2() |
int |
getModifiedLines1() |
int |
getModifiedLines2() |
int |
getStartingLine1() |
int |
getStartingLine2() |
TextDiffTypeEnum |
getType() |
protected void |
setType(TextDiffTypeEnum type) |
public static final java.util.Comparator<LineBlock> COMPARATOR
public LineBlock(int startingLine1, int modifiedLines1, int startingLine2, int modifiedLines2, TextDiffTypeEnum blockType)
public int getModifiedLines1()
public int getStartingLine1()
public int getStartingLine2()
public int getModifiedLines2()
protected int getEndLine1()
protected int getEndLine2()
public TextDiffTypeEnum getType()
protected void setType(TextDiffTypeEnum type)