Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Abi.MessageSource.Encoded
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Abi.MessageSource.Encoded
- All Implemented Interfaces:
Abi.MessageSource
- Enclosing interface:
Abi.MessageSource
public static record Abi.MessageSource.Encoded(String message, Abi.ABI abi)
extends Record
implements Abi.MessageSource
-
Nested Class Summary
Nested classes/interfaces inherited from interface tech.deplant.java4ever.binding.Abi.MessageSource
Abi.MessageSource.Encoded
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabi()
Returns the value of theabi
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.message()
Returns the value of themessage
record component.final String
toString()
Returns a string representation of this record class.type()
-
Constructor Details
-
Encoded
Creates an instance of aEncoded
record class.- Parameters:
message
- the value for themessage
record componentabi
- the value for theabi
record component
-
-
Method Details
-
type
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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)
. -
message
Returns the value of themessage
record component.- Returns:
- the value of the
message
record component
-
abi
Returns the value of theabi
record component.- Returns:
- the value of the
abi
record component
-