Class ListProofOfAbsence
java.lang.Object
com.exonum.binding.common.proofs.list.ListProofOfAbsence
- All Implemented Interfaces:
ListProofNode
public final class ListProofOfAbsence extends Object implements ListProofNode
Represents the proof of absence of a requested element or a range of elements
by providing Merkle root hash of a corresponding proof list.
-
Constructor Summary
Constructors Constructor Description ListProofOfAbsence(HashCode merkleRoot)Creates ListProof absence node with given Merkle root. -
Method Summary
Modifier and Type Method Description voidaccept(ListProofVisitor visitor)Applies the visitor to this proof node.HashCodegetMerkleRoot()Returns the Merkle root of a corresponding proof list.
-
Constructor Details
-
ListProofOfAbsence
Creates ListProof absence node with given Merkle root.
-
-
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
-
getMerkleRoot
Returns the Merkle root of a corresponding proof list.
-