Record Class CollectionsBean
java.lang.Object
java.lang.Record
io.micronaut.serde.yaml.tck.CollectionsBean
- Record Components:
values- The string valuescounts- The counts by namebeans- The nested beans
-
Constructor Summary
ConstructorsConstructorDescriptionCollectionsBean(@Nullable List<String> values, @Nullable Map<String, Integer> counts, @Nullable List<SimpleBean> beans) Creates an instance of aCollectionsBeanrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable List<SimpleBean> beans()Returns the value of thebeansrecord component.counts()Returns the value of thecountsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.values()Returns the value of thevaluesrecord component.
-
Constructor Details
-
CollectionsBean
-
-
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). -
values
-
counts
-
beans
-