Record Class SyThemeClassNameCustom
java.lang.Object
java.lang.Record
com.io7m.jsycamore.api.themes.SyThemeClassNameCustom
- Record Components:
className- The actual class namedescription- The description
- All Implemented Interfaces:
SyThemeClassNameType
public record SyThemeClassNameCustom(String className, String description)
extends Record
implements SyThemeClassNameType
A custom class name.
-
Constructor Summary
ConstructorsConstructorDescriptionSyThemeClassNameCustom(String className, String description) A custom class name. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassNamerecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.toString()Returns a string representation of this record class.
-
Constructor Details
-
SyThemeClassNameCustom
-
-
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). -
className
Returns the value of theclassNamerecord component.- Specified by:
classNamein interfaceSyThemeClassNameType- Returns:
- the value of the
classNamerecord component
-
description
Returns the value of thedescriptionrecord component.- Specified by:
descriptionin interfaceSyThemeClassNameType- Returns:
- the value of the
descriptionrecord component
-