Trait

net.walend.disentangle.heap

HeapOrdering

Related Doc: package heap

Permalink

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
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def AlwaysBottom: K

    Permalink

    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

    Permalink

    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

    Permalink

    Exceptions thrown

    IllegalArgumentException if the key is unusable

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

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

    Permalink
    Definition Classes
    PartialOrdering

Concrete Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    PartialOrdering
  13. def hashCode(): Int

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

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

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

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

    Permalink
    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