public static class diff_match_patch.Diff
Class representing one diff operation.
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#getClass(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#hashCode(), java.lang.Object#equals(java.lang.Object), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#notify() |
One of: INSERT, DELETE or EQUAL.
The text associated with this diff operation.
Constructor. Initializes the diff with the provided values.
operation
- One of INSERT, DELETE or EQUAL.text
- The text being applied.Is this Diff equivalent to another Diff?
obj
- Another Diff to compare against.Create a numeric hash value for a Diff. This function is not used by DMP.
Display a human-readable version of this Diff.