Class BlockSortedQueue
- java.lang.Object
-
- com.h2tcoin.takamakachain.block.utils.BlockSortedQueue
-
public class BlockSortedQueue extends Object
- Author:
- Giovanni Antino
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteBySith(int epoch, int slot, String blockSith)
void
deleteBySith(BlockBox bb)
static String
getBlockSortingString(int epoch, int slot, String blockSith)
static String
getBlockSortingString(BlockBox bb)
int
getNumberOfElemets()
BlockBox
getTopBlock()
static BlockSortedQueue
i()
boolean
isEmpty()
void
push(String blockJson)
-
-
-
Method Detail
-
i
public static BlockSortedQueue i()
-
push
public void push(String blockJson)
-
deleteBySith
public void deleteBySith(int epoch, int slot, String blockSith)
-
deleteBySith
public void deleteBySith(BlockBox bb)
-
getBlockSortingString
public static String getBlockSortingString(int epoch, int slot, String blockSith)
-
getTopBlock
public BlockBox getTopBlock()
-
getNumberOfElemets
public int getNumberOfElemets()
-
isEmpty
public boolean isEmpty()
-
-