|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectme.edwards.des.block.BlockChain.Node
public class BlockChain.Node
Represents a tree node in the BlockChain
Created on: Dec 21, 2015 at 5:20:30 PM
| Field Summary | |
|---|---|
private Block |
block
|
private int |
height
|
private BlockChain.Node |
parent
|
| Constructor Summary | |
|---|---|
BlockChain.Node()
|
|
| Method Summary | |
|---|---|
Block |
getBlock()
Returns the Block contained in this node. |
int |
getHeight()
Returns the height of this node in the BlockChain. |
BlockChain.Node |
getParent()
Returns the parent node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private BlockChain.Node parent
private int height
private Block block
| Constructor Detail |
|---|
public BlockChain.Node()
| Method Detail |
|---|
public BlockChain.Node getParent()
public int getHeight()
public Block getBlock()
Block contained in this node.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||