Object

net.walend.disentangle.heap

MinDoubleHeapOrdering

Related Doc: package heap

Permalink

object MinDoubleHeapOrdering extends HeapOrdering[Double]

A heap ordering that puts the least Double on top.

If you imitate this code, observe that lteq and tryCompare find the inverse of what you'd have for MaxDoubleHeapOrdering.

Linear Supertypes
HeapOrdering[Double], PartialOrdering[Double], Equiv[Double], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MinDoubleHeapOrdering
  2. HeapOrdering
  3. PartialOrdering
  4. Equiv
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def AlwaysBottom: Double

    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.

    Definition Classes
    MinDoubleHeapOrderingHeapOrdering
  5. def AlwaysTop: Double

    Permalink

    Minimum value for the DoubleHeap

    Minimum value for the DoubleHeap

    Definition Classes
    MinDoubleHeapOrderingHeapOrdering
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def checkKey(key: Double): Unit

    Permalink

    Use require to check the key.

    Use require to check the key.

    Definition Classes
    MinDoubleHeapOrderingHeapOrdering
    Exceptions thrown

    IllegalArgumentException if the key is unusable

  8. def clone(): AnyRef

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

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

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

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

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

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

    Permalink
    Definition Classes
    PartialOrdering
  15. def gteq(x: Double, y: Double): Boolean

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

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

    Permalink
    Definition Classes
    Any
  18. def lt(x: Double, y: Double): Boolean

    Permalink
    Definition Classes
    PartialOrdering
  19. def lteq(x: Double, y: Double): Boolean

    Permalink
    Definition Classes
    MinDoubleHeapOrdering → PartialOrdering
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def reverse: PartialOrdering[Double]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. def tryCompare(x: Double, y: Double): Option[Int]

    Permalink

    returns

    Some negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second, or None if they can't be compared

    Definition Classes
    MinDoubleHeapOrdering → PartialOrdering
  27. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from HeapOrdering[Double]

Inherited from PartialOrdering[Double]

Inherited from Equiv[Double]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped