public static final class Difference.Part extends Object implements Serializable
Constructor and Description |
---|
Part(int type,
int line,
int pos1,
int pos2)
Creates a new instance of LineDiff
|
Modifier and Type | Method and Description |
---|---|
int |
getEndPosition()
Get the position on which the difference ends on this line.
|
int |
getLine()
Get the line number.
|
int |
getStartPosition()
Get the position on which the difference starts on this line.
|
int |
getType()
Get the difference type.
|
public Part(int type, int line, int pos1, int pos2)
public int getType()
public int getLine()
public int getStartPosition()
public int getEndPosition()