Record Class UISchemes.Scheme
java.lang.Object
java.lang.Record
com.iizix.prop.ui.device.UISchemes.Scheme
- Record Components:
family- The family, never null.mode- The mode, never null.
- Enclosing class:
UISchemes
A scheme: a family and a mode.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorsConstructorDescriptionScheme(UISchemes.Family family, UISchemes.Mode mode) Creates an instance of aSchemerecord class.Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.family()Returns the value of thefamilyrecord component.final inthashCode()Returns a hash code value for this object.mode()Returns the value of themoderecord component.toString()The string form:"family/mode".
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. All components in this record class are compared withObjects::equals(Object,Object).family
mode