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 aResultOfTreerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedecodedOutputrecord component.final booleanIndicates whether some other object is "equal to" this one.extractDeployAddress(String sender) Extracts address where internal deploy message was sent.final inthashCode()Returns a hash code value for this object.tech.deplant.java4ever.binding.Net.ResultOfQueryTransactionTreeReturns the value of thequeryTreerecord component.final StringtoString()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 aResultOfTreerecord class.- Parameters:
queryTree- the value for thequeryTreerecord componentdecodedOutput- the value for thedecodedOutputrecord 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
-
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). -
queryTree
public tech.deplant.java4ever.binding.Net.ResultOfQueryTransactionTree queryTree()Returns the value of thequeryTreerecord component.- Returns:
- the value of the
queryTreerecord component
-
decodedOutput
Returns the value of thedecodedOutputrecord component.- Returns:
- the value of the
decodedOutputrecord component
-