public final class ListProofElement extends java.lang.Object implements ListProofNode
Constructor and Description |
---|
ListProofElement(com.google.protobuf.ByteString element)
Creates a new ListProofElement.
|
Modifier and Type | Method and 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.
|
public ListProofElement(com.google.protobuf.ByteString element)
element
- an element of the listjava.lang.NullPointerException
- if the element is nullpublic void accept(ListProofVisitor visitor)
ListProofNode
Most implementations simply call visitor.visit(this);
accept
in interface ListProofNode
visitor
- a visitor to apply to this nodepublic com.google.protobuf.ByteString getElement()
public static Funnel<ListProofElement> funnel()
Copyright © 2018 Exonum. All rights reserved.