Record Class ScalarsBean
java.lang.Object
java.lang.Record
io.micronaut.serde.yaml.tck.ScalarsBean
- Record Components:
text- The string valueflag- The boolean valuenumber- The integer valuedecimal- The floating point valuenothing- The null value
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Doubledecimal()Returns the value of thedecimalrecord component.final booleanIndicates whether some other object is "equal to" this one.@Nullable Booleanflag()Returns the value of theflagrecord component.final inthashCode()Returns a hash code value for this object.@Nullable Stringnothing()Returns the value of thenothingrecord component.@Nullable Integernumber()Returns the value of thenumberrecord component.@Nullable Stringtext()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ScalarsBean
-
-
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 withObjects::equals(Object,Object). -
text
-
flag
-
number
-
decimal
-
nothing
-