|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.netbeans.api.diff.Difference.Part
This class represents a difference on a single line.
| Constructor Summary | |
Difference.Part(int type,
int line,
int pos1,
int pos2)
Creates a new instance of LineDiff |
|
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Difference.Part(int type,
int line,
int pos1,
int pos2)
type - The type of the difference. Must be one of the {DELETE,
ADD or CHANGEline - The line numberpos1 - The position on which the difference starts on this line.pos2 - The position on which the difference ends on this line.| Method Detail |
public int getType()
public int getLine()
public int getStartPosition()
public int getEndPosition()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||