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 Details

  • Method Details

    • accept

      public void accept​(ListProofVisitor visitor)
      Description copied from interface: ListProofNode
      Applies the visitor to this proof node.

      Most implementations simply call visitor.visit(this);

      Specified by:
      accept in interface ListProofNode
      Parameters:
      visitor - a visitor to apply to this node
    • getMerkleRoot

      public HashCode getMerkleRoot()
      Returns the Merkle root of a corresponding proof list.