public static class CMStrings.Diff
extends java.lang.Object
| Modifier and Type | Field | Description | 
|---|---|---|
| CMStrings.DiffOperation | operation | One of: INSERT, DELETE or EQUAL. | 
| java.lang.String | text | The text associated with this diff operation. | 
| Constructor | Description | 
|---|---|
| Diff(CMStrings.DiffOperation operation,
    java.lang.String text) | Constructor. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| boolean | equals(java.lang.Object obj) | Is this Diff equivalent to another Diff? | 
| int | hashCode() | Create a numeric hash value for a Diff. | 
| java.lang.String | toString() | Display a human-readable version of this Diff. | 
public CMStrings.DiffOperation operation
public java.lang.String text
public Diff(CMStrings.DiffOperation operation, java.lang.String text)
operation - One of INSERT, DELETE or EQUAL.text - The text being applied.public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - Another Diff to compare against.