-
Methods in io.crums.util.mrkl that return Node
Modifier and Type |
Method |
Description |
Node |
Node.getLeaf(int index) |
Returns the leaf node at the given index.
|
Node |
Node.getRoot() |
Returns the root of the tree.
|
Node |
Node.leftChild() |
Returns this node's left child, or null if this node is a leaf.
|
Node |
Node.parent() |
Returns this node's parent, or null if this node is root.
|
Node |
Node.rightChild() |
Returns this node's right child, or null if this node is a leaf.
|
Node |
Tree.root() |
Returns the root node of the tree.
|
Node |
Node.sibling() |
Returns the sibling that makes this node's parent, or null
if this node is root.
|
Methods in io.crums.util.mrkl that return types with arguments of type Node
Modifier and Type |
Method |
Description |
TreeIndex<Node> |
Tree.idx() |
Returns the random access index into tree structure.
|
Methods in io.crums.util.mrkl with parameters of type Node
Modifier and Type |
Method |
Description |
boolean |
Tree.verify(Node node,
java.security.MessageDigest digest) |
|