|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectname.fraser.neil.plaintext.diff_match_patch.Diff
public static class diff_match_patch.Diff
Class representing one diff operation.
Field Summary | |
---|---|
diff_match_patch.Operation |
operation
One of: INSERT, DELETE or EQUAL. |
String |
text
The text associated with this diff operation. |
Constructor Summary | |
---|---|
diff_match_patch.Diff(diff_match_patch.Operation operation,
String text)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public diff_match_patch.Operation operation
public String text
Constructor Detail |
---|
public diff_match_patch.Diff(diff_match_patch.Operation operation, String text)
operation
- One of INSERT, DELETE or EQUAL.text
- The text being applied.Method Detail |
---|
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
obj
- Another Diff to compare against.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |