Module java4ever.framework
Package tech.deplant.java4ever.framework
Record Class ResultOfTree<RETURN>
java.lang.Object
java.lang.Record
tech.deplant.java4ever.framework.ResultOfTree<RETURN>
-
Constructor Summary
ConstructorsConstructorDescriptionResultOfTree
(tech.deplant.java4ever.binding.Net.ResultOfQueryTransactionTree queryTree, RETURN decodedOutput) Creates an instance of aResultOfTree
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedecodedOutput
record component.final boolean
Indicates whether some other object is "equal to" this one.extractDeployAddress
(String sender) Extracts address where internal deploy message was sent.final int
hashCode()
Returns a hash code value for this object.tech.deplant.java4ever.binding.Net.ResultOfQueryTransactionTree
Returns the value of thequeryTree
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ResultOfTree
public ResultOfTree(tech.deplant.java4ever.binding.Net.ResultOfQueryTransactionTree queryTree, RETURN decodedOutput) Creates an instance of aResultOfTree
record class.- Parameters:
queryTree
- the value for thequeryTree
record componentdecodedOutput
- the value for thedecodedOutput
record component
-
-
Method Details
-
extractDeployAddress
Extracts address where internal deploy message was sent. Method checks messages list for specific sender and if he sent messages to "constructor" of other contract, destination address will be returned.- Parameters:
sender
- Message sender that deploys new contract- Returns:
- New contract address
-
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)
. -
queryTree
public tech.deplant.java4ever.binding.Net.ResultOfQueryTransactionTree queryTree()Returns the value of thequeryTree
record component.- Returns:
- the value of the
queryTree
record component
-
decodedOutput
Returns the value of thedecodedOutput
record component.- Returns:
- the value of the
decodedOutput
record component
-