org.netbeans.api.diff
public static final class Difference.Part extends Object implements Serializable
Constructor and Description |
---|
Difference.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 Difference.Part(int type, int line, int pos1, int pos2)
public int getType()
public int getLine()
public int getStartPosition()
public int getEndPosition()
Built on March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.