Class diff_match_patch.Diff
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.util.diff.diff_match_patch.Diff
-
- Direct Known Subclasses:
Diff
- Enclosing class:
- diff_match_patch
public static class diff_match_patch.Diff extends Object
Class representing one diff operation.
-
-
Field Summary
Fields Modifier and Type Field Description diff_match_patch.Operation
operation
String
text
-
Constructor Summary
Constructors Constructor Description Diff(diff_match_patch.Operation operation, String text)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object d)
Is this Diff equivalent to another Diff?String
toString()
Display a human-readable version of this Diff.
-
-
-
Field Detail
-
operation
public diff_match_patch.Operation operation
-
text
public String text
-
-
Constructor Detail
-
Diff
public Diff(diff_match_patch.Operation operation, String text)
Constructor. Initializes the diff with the provided values.- Parameters:
operation
- One of INSERT, DELETE or EQUALtext
- The text being applied
-
-
Method Detail
-
toString
public String toString()
Display a human-readable version of this Diff.
-
-