|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.errai.otec.client.util.DiffPatchMerge.Diff
public static class DiffPatchMerge.Diff
Class representing one diff operation.
Field Summary | |
---|---|
DiffPatchMerge.Operation |
operation
One of: INSERT, DELETE or EQUAL. |
String |
text
The text associated with this diff operation. |
Constructor Summary | |
---|---|
DiffPatchMerge.Diff(DiffPatchMerge.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 DiffPatchMerge.Operation operation
public String text
Constructor Detail |
---|
public DiffPatchMerge.Diff(DiffPatchMerge.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.
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |