Record Class ClosingStylist.StyleToken
java.lang.Object
java.lang.Record
org.aya.pretty.backend.string.ClosingStylist.StyleToken
- Enclosing class:
ClosingStylist
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStyleToken(@NotNull String start, @NotNull String end, boolean visible) StyleToken(@NotNull Consumer<Cursor> start, @NotNull Consumer<Cursor> end) Creates an instance of aStyleTokenrecord class. -
Method Summary
Modifier and TypeMethodDescriptionend()Returns the value of theendrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.start()Returns the value of thestartrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
NULL
-
-
Constructor Details
-
StyleToken
-
StyleToken
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
start
-
end
-