A B C E G H I N S T
A
- addBlock(T) - Method in class com.github.mathiewz.blockchain.Node
-
- addNode(String, Integer) - Method in class com.github.mathiewz.blockchain.Node
-
B
- Block<T extends Serializable> - Class in com.github.mathiewz.blockchain
-
A block containing some data.
- Block(T) - Constructor for class com.github.mathiewz.blockchain.Block
-
Create the first block of the chain.
- Block(T, Block<T>) - Constructor for class com.github.mathiewz.blockchain.Block
-
Create a new block in the chain.
C
- com.github.mathiewz.blockchain - package com.github.mathiewz.blockchain
-
- compare(Block<T>, Block<T>) - Static method in class com.github.mathiewz.blockchain.Block
-
Compare two blocks and return the best one.
- compareTo(Block<T>) - Method in class com.github.mathiewz.blockchain.Block
-
E
- equals(Object) - Method in class com.github.mathiewz.blockchain.Block
-
G
- getBlockChain() - Method in class com.github.mathiewz.blockchain.Node
-
- getData() - Method in class com.github.mathiewz.blockchain.Block
-
Return the data contained in the block.
- getPrevious() - Method in class com.github.mathiewz.blockchain.Block
-
Return the previous block in the chain.
H
- hashCode() - Method in class com.github.mathiewz.blockchain.Block
-
I
- isValid() - Method in class com.github.mathiewz.blockchain.Block
-
Check if the block is valid
- isWholeChainValid() - Method in class com.github.mathiewz.blockchain.Block
-
Check if the whole chain is valid
- iterator() - Method in class com.github.mathiewz.blockchain.Block
-
N
- Node<T extends Serializable> - Class in com.github.mathiewz.blockchain
-
- Node(int, String, int) - Constructor for class com.github.mathiewz.blockchain.Node
-
- Node(int, Block<T>) - Constructor for class com.github.mathiewz.blockchain.Node
-
S
- stream() - Method in class com.github.mathiewz.blockchain.Block
-
Returns a sequential Stream with this blockchain as its source.
T
- toString() - Method in class com.github.mathiewz.blockchain.Block
-
A B C E G H I N S T
Copyright © 2017. All rights reserved.