Class ListProofElement
- java.lang.Object
-
- com.exonum.binding.common.proofs.list.ListProofElement
-
- All Implemented Interfaces:
ListProofNode
public final class ListProofElement extends java.lang.Object implements ListProofNode
Represents an element of a proof list: a leaf node in a list proof tree.
-
-
Constructor Summary
Constructors Constructor Description ListProofElement(com.google.protobuf.ByteString element)
Creates a new ListProofElement.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ListProofVisitor visitor)
Applies the visitor to this proof node.static Funnel<ListProofElement>
funnel()
com.google.protobuf.ByteString
getElement()
Returns the value of the element.
-
-
-
Method Detail
-
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 interfaceListProofNode
- Parameters:
visitor
- a visitor to apply to this node
-
getElement
public com.google.protobuf.ByteString getElement()
Returns the value of the element.
-
funnel
public static Funnel<ListProofElement> funnel()
-
-