public static class DiffMatchPatch.Diff
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
DiffMatchPatch.Operation |
operation
One of: INSERT, DELETE or EQUAL.
|
java.lang.String |
text
The text associated with this diff operation.
|
| Constructor and Description |
|---|
DiffMatchPatch.Diff(DiffMatchPatch.Operation operation,
java.lang.String text)
Constructor.
|
public DiffMatchPatch.Operation operation
public java.lang.String text
public DiffMatchPatch.Diff(DiffMatchPatch.Operation 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.