Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Abi.ParamsOfDecodeInitialData
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Abi.ParamsOfDecodeInitialData
- Record Components:
abi
- Contract ABI. Initial data is decoded if this parameter is provideddata
- Data BOC or BOC handleallowPartial
- Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)
- Enclosing class:
Abi
-
Constructor Summary
ConstructorsConstructorDescriptionParamsOfDecodeInitialData
(Abi.ABI abi, String data, Boolean allowPartial) Creates an instance of aParamsOfDecodeInitialData
record class. -
Method Summary
Modifier and TypeMethodDescriptionabi()
Returns the value of theabi
record component.Returns the value of theallowPartial
record component.data()
Returns the value of thedata
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.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ParamsOfDecodeInitialData
Creates an instance of aParamsOfDecodeInitialData
record class.- Parameters:
abi
- the value for theabi
record componentdata
- the value for thedata
record componentallowPartial
- the value for theallowPartial
record component
-
-
Method Details
-
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)
. -
abi
Returns the value of theabi
record component.- Returns:
- the value of the
abi
record component
-
data
Returns the value of thedata
record component.- Returns:
- the value of the
data
record component
-
allowPartial
Returns the value of theallowPartial
record component.- Returns:
- the value of the
allowPartial
record component
-