Package org.jline.utils
Class DiffHelper.Diff
java.lang.Object
org.jline.utils.DiffHelper.Diff
- Enclosing class:
DiffHelper
Class representing one diff operation.
-
Field Summary
Modifier and TypeFieldDescriptionfinal DiffHelper.Operation
One of: INSERT, DELETE or EQUAL.final AttributedString
The text associated with this diff operation. -
Constructor Summary
-
Method Summary
-
Field Details
-
operation
One of: INSERT, DELETE or EQUAL. -
text
The text associated with this diff operation.
-
-
Constructor Details
-
Diff
Constructor. Initializes the diff with the provided values.- Parameters:
operation
- One of INSERT, DELETE or EQUAL.text
- The text being applied.
-
-
Method Details