Record Class MeasurementBean
java.lang.Object
java.lang.Record
io.micronaut.serde.toon.tck.MeasurementBean
- Record Components:
large- A value of at least 1e21small- A value below 1e-6
A record with numbers that format in scientific notation.
- Since:
- 3.3.0
-
Constructor Summary
ConstructorsConstructorDescriptionMeasurementBean(double large, double small) Creates an instance of aMeasurementBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doublelarge()Returns the value of thelargerecord component.doublesmall()Returns the value of thesmallrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MeasurementBean
-
-
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 with thecomparemethod from their corresponding wrapper classes. -
large
-
small
-