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 theabirecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.final StringtoString()Returns a string representation of this record class.type()
-
Constructor Details
-
Encoded
Creates an instance of aEncodedrecord class.- Parameters:
message- the value for themessagerecord componentabi- the value for theabirecord 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 themessagerecord component.- Returns:
- the value of the
messagerecord component
-
abi
Returns the value of theabirecord component.- Returns:
- the value of the
abirecord component
-