public class Edit
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static char |
ADD |
static char |
DELETE |
static char |
MATCH |
| Modifier | Constructor and Description |
|---|---|
protected |
Edit(char typeIn,
Edit parentIn) |
| Modifier and Type | Method and Description |
|---|---|
Edit |
copy() |
int |
getNumber() |
Edit |
getParent() |
char |
getType() |
void |
increment()
Increment the number.
|
void |
setNumber(int numberIn) |
public static final char DELETE
public static final char ADD
public static final char MATCH
protected Edit(char typeIn,
Edit parentIn)
typeIn - The edit command (d | a | m)parentIn - This edits parent.public char getType()
public int getNumber()
public void setNumber(int numberIn)
numberIn - The number to set.public void increment()
public Edit getParent()
public Edit copy()