Class AbstractArrayAddressableHeap.ArrayHandle

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int index  
      (package private) K key  
      private static long serialVersionUID  
      (package private) V value  
    • Constructor Summary

      Constructors 
      Constructor Description
      ArrayHandle​(K key, V value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void decreaseKey​(K newKey)
      Decrease the key of the element.
      void delete()
      Delete the element from the heap that it belongs.
      K getKey()
      Return the key of the element.
      V getValue()
      Return the value of the element.
      void setValue​(V value)
      Set the value of the element.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait