Class BlockSortedQueue


  • public class BlockSortedQueue
    extends Object
    Author:
    Giovanni Antino
    • Method Detail

      • 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)
      • getBlockSortingString

        public static String getBlockSortingString​(BlockBox bb)
      • getTopBlock

        public BlockBox getTopBlock()
      • getNumberOfElemets

        public int getNumberOfElemets()
      • isEmpty

        public boolean isEmpty()