|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.pmease.quickbuild.web.page.source.diff.DiffMatchPatch.Diff
public static class DiffMatchPatch.Diff
Class representing one diff operation.
Field Summary | |
---|---|
DiffMatchPatch.Operation |
operation
One of: INSERT, DELETE or EQUAL. |
java.lang.String |
text
The text associated with this diff operation. |
Constructor Summary | |
---|---|
DiffMatchPatch.Diff(DiffMatchPatch.Operation operation,
java.lang.String text)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object d)
Is this Diff equivalent to another Diff? |
java.lang.String |
toString()
Display a human-readable version of this Diff. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public DiffMatchPatch.Operation operation
public java.lang.String text
Constructor Detail |
---|
public DiffMatchPatch.Diff(DiffMatchPatch.Operation operation, java.lang.String text)
operation
- One of INSERT, DELETE or EQUAL.text
- The text being applied.Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object d)
equals
in class java.lang.Object
d
- Another Diff to compare against.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |