net.walend.heap

HeapOrdering

trait HeapOrdering[K] extends PartialOrdering[K]

The heap moves the greatest value to the top, according to some HeapOrdering.

K

the key type in this heap map.

Linear Supertypes
PartialOrdering[K], Equiv[K], Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HeapOrdering
  2. PartialOrdering
  3. Equiv
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def AlwaysBottom: K

    A key that will among items on the bottom of the heap.

    A key that will among items on the bottom of the heap. Used primarily to add items that will eventually flow higher.

  2. abstract def AlwaysTop: K

    A key that will always be at the top of the heap if present at all.

    A key that will always be at the top of the heap if present at all. Used to efficiently remove items from the heap.

  3. abstract def checkKey(key: K): Unit

    Exceptions thrown
    IllegalArgumentException

    if the key is unusable

  4. abstract def lteq(x: K, y: K): Boolean

    Definition Classes
    PartialOrdering
  5. abstract def tryCompare(x: K, y: K): Option[Int]

    Definition Classes
    PartialOrdering

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def equiv(x: K, y: K): Boolean

    Definition Classes
    PartialOrdering → Equiv
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. def gt(x: K, y: K): Boolean

    Definition Classes
    PartialOrdering
  12. def gteq(x: K, y: K): Boolean

    Definition Classes
    PartialOrdering
  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. def lt(x: K, y: K): Boolean

    Definition Classes
    PartialOrdering
  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. def reverse: PartialOrdering[K]

    Definition Classes
    PartialOrdering
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PartialOrdering[K]

Inherited from Equiv[K]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped