public class DiffInformation.DiffChange extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ADD |
static int |
CHANGE |
static int |
DELETE |
protected int |
type |
Constructor and Description |
---|
DiffChange() |
Modifier and Type | Method and Description |
---|---|
void |
appendLeftLine(String diffLine) |
void |
appendRightLine(String diffLine) |
int |
getLeftMax() |
int |
getLeftMin() |
String |
getLine(int number,
boolean left) |
int |
getMainBeginning() |
int |
getRightMax() |
int |
getRightMin() |
int |
getType() |
boolean |
isInRange(int number,
boolean left) |
void |
setLeftRange(int min,
int max) |
void |
setRightRange(int min,
int max) |
void |
setType(int typeChange) |
public static final int ADD
public static final int DELETE
public static final int CHANGE
protected int type
public void setType(int typeChange)
public int getType()
public void setLeftRange(int min, int max)
public void setRightRange(int min, int max)
public int getMainBeginning()
public int getRightMin()
public int getRightMax()
public int getLeftMin()
public int getLeftMax()
public boolean isInRange(int number, boolean left)
public String getLine(int number, boolean left)
public void appendLeftLine(String diffLine)
public void appendRightLine(String diffLine)
Copyright © 2016. All rights reserved.