Package ch.rswk.meta.engine.test
Record Class ActionServiceTest.TestService.EchoResult
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.test.ActionServiceTest.TestService.EchoResult
- Enclosing class:
ActionServiceTest.TestService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.s()
Returns the value of thes
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
s
The field for thes
record component.
-
-
Constructor Details
-
EchoResult
Creates an instance of aEchoResult
record class.- Parameters:
s
- the value for thes
record component
-
-
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)
. -
s
Returns the value of thes
record component.- Returns:
- the value of the
s
record component
-