Record Class ARI1SampleMapInstanceID
java.lang.Object
java.lang.Record
com.io7m.aradine.instrument.spi1.ARI1SampleMapInstanceID
- Record Components:
value- The raw ID value
- All Implemented Interfaces:
Comparable<ARI1SampleMapInstanceID>
public record ARI1SampleMapInstanceID(UUID value)
extends Record
implements Comparable<ARI1SampleMapInstanceID>
A sample map instance ID.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(ARI1SampleMapInstanceID other) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static ARI1SampleMapInstanceIDParse a sample map ID.static ARI1SampleMapInstanceIDrandom()toString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
ARI1SampleMapInstanceID
A sample map instance ID.- Parameters:
value- The raw ID value
-
-
Method Details
-
random
- Returns:
- A random instance ID
-
ofString
Parse a sample map ID.- Parameters:
text- The text- Returns:
- The parsed ID
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<ARI1SampleMapInstanceID>
-
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). -
value
-