public static class diff_match_patch.Diff extends Object
Modifier and Type | Field and Description |
---|---|
diff_match_patch.Operation |
operation
One of: INSERT, DELETE or EQUAL.
|
String |
text
The text associated with this diff operation.
|
Constructor and Description |
---|
Diff(diff_match_patch.Operation operation,
String text)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Is this Diff equivalent to another Diff?
|
int |
hashCode()
Create a numeric hash value for a Diff.
|
String |
toString()
Display a human-readable version of this Diff.
|
public diff_match_patch.Operation operation
public String text
public Diff(diff_match_patch.Operation operation, String text)
operation
- One of INSERT, DELETE or EQUAL.text
- The text being applied.public String toString()
public int hashCode()
Copyright © 2017 Magnolia International Ltd.. All rights reserved.