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 void
accept(ListProofVisitor visitor)
Applies the visitor to this proof node.HashCode
getHash()
Returns the hash value.
-
Constructor Details
-
Method Details
-
accept
Description copied from interface:ListProofNode
Applies the visitor to this proof node.Most implementations simply call
visitor.visit(this);
- Specified by:
accept
in interfaceListProofNode
- Parameters:
visitor
- a visitor to apply to this node
-
getHash
Returns the hash value.
-