public abstract class ShaMapNode extends Object
| 构造器和说明 |
|---|
ShaMapNode() |
| 限定符和类型 | 方法和说明 |
|---|---|
ShaMapInner |
asInner() |
ShaMapLeaf |
asLeaf() |
Hash256 |
createHash() |
Hash256 |
hash() |
void |
invalidate() |
abstract boolean |
isInner() |
abstract boolean |
isLeaf() |
abstract void |
toBytesSink(BytesSink sink) |
void |
walkAnyLeaves(LeafWalker leafWalker)
Walk any leaves, possibly this node itself, if it's terminal.
|
protected Hash256 hash
public abstract boolean isLeaf()
public abstract boolean isInner()
public ShaMapLeaf asLeaf()
public ShaMapInner asInner()
public abstract void toBytesSink(BytesSink sink)
public void invalidate()
public Hash256 hash()
public Hash256 createHash()
public void walkAnyLeaves(LeafWalker leafWalker)
leafWalker - Leafwalker.Copyright © 2021. All rights reserved.