Record Class AdocDiffMarker.MarkResult
java.lang.Object
java.lang.Record
network.ike.docs.plugin.diff.AdocDiffMarker.MarkResult
- Record Components:
lines- the marked fragment, line by line, including the injected change-summary note blockinsWords- approximate count of inserted wordsdelWords- approximate count of deleted wordsnotes- human-readable notes for changes the marker could not show inline
- Enclosing class:
AdocDiffMarker
-
Constructor Summary
ConstructorsConstructorDescriptionMarkResult(List<String> lines, int insWords, int delWords, List<String> notes) Creates an instance of aMarkResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintdelWords()Returns the value of thedelWordsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intinsWords()Returns the value of theinsWordsrecord component.lines()Returns the value of thelinesrecord component.notes()Returns the value of thenotesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
lines
-
insWords
-
delWords
-
notes
-