public static class DiffMatchPatch.Diff extends Object
| Modifier and Type | Field and Description |
|---|---|
DiffMatchPatch.Operation |
operation |
String |
text |
| Constructor and Description |
|---|
Diff(DiffMatchPatch.Operation operation,
String text)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object d)
Is this Diff equivalent to another Diff?
|
int |
hashCode() |
String |
toString()
Display a human-readable version of this Diff.
|
public DiffMatchPatch.Operation operation
public String text
public Diff(DiffMatchPatch.Operation operation, String text)
operation - One of INSERT, DELETE or EQUAL.text - The text being applied.Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.