Record Class ByteValue
java.lang.Object
java.lang.Record
org.microbean.attributes.ByteValue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal int
final Optional
<DynamicConstantDesc<ByteValue>> final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.static final ByteValue
of
(byte b) Returns aByteValue
suitable for the supplied arguments.final String
toString()
Returns a string representation of this record class.byte
value()
Returns the value of thevalue
record component.
-
Constructor Details
-
ByteValue
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ByteValue>
-
describeConstable
- Specified by:
describeConstable
in interfaceConstable
-
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 thecompare
method from their corresponding wrapper classes. -
hashCode
-
toString
-
of
-
value
-