Record Class ByteValue
java.lang.Object
java.lang.Record
org.microbean.attributes.ByteValue
- Record Components:
value- the value
- All Implemented Interfaces:
Comparable<ByteValue>,Constable,Value<ByteValue>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intfinal Optional<DynamicConstantDesc<ByteValue>> final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static final ByteValueof(byte b) Returns aByteValuesuitable for the supplied arguments.final StringtoString()Returns a string representation of this record class.bytevalue()Returns the value of thevaluerecord component.
-
Constructor Details
-
ByteValue
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<ByteValue>
-
describeConstable
- Specified by:
describeConstablein 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 thecomparemethod from their corresponding wrapper classes. -
hashCode
-
toString
-
of
-
value
-