Package org.netxms.base
Class DiffMatchPatch.Diff
java.lang.Object
org.netxms.base.DiffMatchPatch.Diff
- Enclosing class:
- DiffMatchPatch
Class representing one diff operation.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionOne of: INSERT, DELETE or EQUAL.The text associated with this diff operation.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
operationOne of: INSERT, DELETE or EQUAL.
- 
textThe text associated with this diff operation.
 
- 
- 
Constructor Details- 
DiffConstructor. Initializes the diff with the provided values.- Parameters:
- operation- One of INSERT, DELETE or EQUAL.
- text- The text being applied.
 
 
- 
- 
Method Details- 
toStringDisplay a human-readable version of this Diff.
- 
hashCodepublic int hashCode()Create a numeric hash value for a Diff. This function is not used by DMP.
- 
equalsIs this Diff equivalent to another Diff?
 
-