public class Difference extends Object
The GNU Lesser General Public License for details.
Modifier and Type | Field and Description |
---|---|
private EditType |
editType
The edit to perform
|
private int |
index |
private String |
text |
Constructor and Description |
---|
Difference(EditType edit,
String text) |
Modifier and Type | Method and Description |
---|---|
void |
appendText(char addText) |
void |
appendText(String addText) |
boolean |
equals(Object obj) |
EditType |
getEditType() |
int |
getIndex() |
String |
getText() |
int |
hashCode() |
void |
prependText(char addText) |
void |
prependText(String addText) |
void |
setEditType(EditType newEditType) |
void |
setIndex(int newIndex) |
void |
setText(String newText) |
String |
toString() |
private EditType editType
private String text
private int index
public EditType getEditType()
public void setEditType(EditType newEditType)
newEditType
- the EditType to setpublic String getText()
public void setText(String newText)
newText
- the text to setpublic int getIndex()
public void setIndex(int newIndex)
newIndex
- the index to setpublic void appendText(String addText)
addText
- the text to setpublic void appendText(char addText)
addText
- the text to setpublic void prependText(String addText)
addText
- the text to setpublic void prependText(char addText)
addText
- the text to set