Class ListProofHashNode
java.lang.Object
com.exonum.binding.common.proofs.list.ListProofHashNode
- All Implemented Interfaces:
ListProofNode
public final class ListProofHashNode extends Object implements ListProofNode
Represents a hash of a Merkle sub-tree: a leaf node in proof trees.
-
Constructor Summary
Constructors Constructor Description ListProofHashNode(HashCode hash) -
Method Summary
Modifier and Type Method Description voidaccept(ListProofVisitor visitor)Applies the visitor to this proof node.HashCodegetHash()Returns the hash value.
-
Constructor Details
-
Method Details
-
accept
Description copied from interface:ListProofNodeApplies the visitor to this proof node.Most implementations simply call
visitor.visit(this);- Specified by:
acceptin interfaceListProofNode- Parameters:
visitor- a visitor to apply to this node
-
getHash
Returns the hash value.
-