Record Class CLNChannelsTypeDescriptionCustom
java.lang.Object
java.lang.Record
com.io7m.calino.api.CLNChannelsTypeDescriptionCustom
- Record Components:
descriptor- The channel descriptor
- All Implemented Interfaces:
CLNChannelsTypeDescriptionType, CLNDescribableType
public record CLNChannelsTypeDescriptionCustom(String descriptor)
extends Record
implements CLNChannelsTypeDescriptionType
A custom channel type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CLNChannelsTypeDescriptionCustom
A custom channel type.- Parameters:
descriptor- The channel descriptor
-
-
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). -
descriptor
Returns the value of thedescriptorrecord component.- Specified by:
descriptorin interfaceCLNDescribableType- Returns:
- the value of the
descriptorrecord component
-