Class HeapBlast


  • public class HeapBlast
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) TimerPriorityHeap heap  
      (package private) static int ndone  
      (package private) int num  
      (package private) Timer[] polled  
      (package private) static java.util.Random rand  
      (package private) int size  
      (package private) Timer[] sorted  
    • Constructor Summary

      Constructors 
      Constructor Description
      HeapBlast()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void add()  
      (package private) void build()  
      (package private) void claim​(boolean test)  
      static void main​(java.lang.String[] args)  
      (package private) void poll()  
      (package private) void step​(int target)  
      (package private) void test()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HeapBlast

        HeapBlast()
    • Method Detail

      • claim

        void claim​(boolean test)
      • poll

        void poll()
      • add

        void add()
      • build

        void build()
      • step

        void step​(int target)
      • test

        void test()
      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception