Record Class LCaptionName
java.lang.Object
java.lang.Record
com.io7m.laurel.model.LCaptionName
- Record Components:
text- The caption text
- All Implemented Interfaces:
Comparable<LCaptionName>
A caption.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(LCaptionName other) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.text()Returns the value of thetextrecord component.toString()Returns a string representation of this record class.
-
Field Details
-
VALID_CAPTION
The pattern that defines a valid caption.
-
-
Constructor Details
-
LCaptionName
-
-
Method Details
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<LCaptionName>
-
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). -
text
-