Record Class ARI1ParameterNumber
java.lang.Object
java.lang.Record
com.io7m.aradine.instrument.spi1.ARI1ParameterNumber
- Record Components:
value- The value
- All Implemented Interfaces:
Comparable<ARI1ParameterNumber>
public record ARI1ParameterNumber(long value)
extends Record
implements Comparable<ARI1ParameterNumber>
The ID of a parameter. Unique within an instrument.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(ARI1ParameterNumber other) 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.longvalue()Returns the value of thevaluerecord component.
-
Constructor Details
-
ARI1ParameterNumber
public ARI1ParameterNumber(long value) The ID of a parameter. Unique within an instrument.- Parameters:
value- The value
-
-
Method Details
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<ARI1ParameterNumber>
-
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 with thecomparemethod from their corresponding wrapper classes. -
value
-