Record Class CLNChannelsLayoutDescriptionCustom
java.lang.Object
java.lang.Record
com.io7m.calino.api.CLNChannelsLayoutDescriptionCustom
- Record Components:
channels- The channelspacking- The packing specification
- All Implemented Interfaces:
CLNChannelsLayoutDescriptionType, CLNDescribableType
public record CLNChannelsLayoutDescriptionCustom(List<CLNChannelDescription> channels, Optional<CLNChannelLayoutPacking> packing)
extends Record
implements CLNChannelsLayoutDescriptionType
A custom channel layout description.
-
Constructor Summary
ConstructorsConstructorDescriptionCLNChannelsLayoutDescriptionCustom(List<CLNChannelDescription> channels, Optional<CLNChannelLayoutPacking> packing) A custom channel layout description. -
Method Summary
Modifier and TypeMethodDescriptionchannels()Returns the value of thechannelsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.packing()Returns the value of thepackingrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface CLNChannelsLayoutDescriptionType
bitsTotal, descriptor, texelBlockAlignment
-
Constructor Details
-
CLNChannelsLayoutDescriptionCustom
public CLNChannelsLayoutDescriptionCustom(List<CLNChannelDescription> channels, Optional<CLNChannelLayoutPacking> packing) A custom channel layout description.- Parameters:
channels- The channelspacking- The packing specification
-
-
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). -
channels
Returns the value of thechannelsrecord component.- Specified by:
channelsin interfaceCLNChannelsLayoutDescriptionType- Returns:
- the value of the
channelsrecord component
-
packing
Returns the value of thepackingrecord component.- Specified by:
packingin interfaceCLNChannelsLayoutDescriptionType- Returns:
- the value of the
packingrecord component
-