Object/Trait

algebra

Order

Related Docs: trait Order | package algebra

Permalink

object Order extends OrderFunctions with Serializable

Linear Supertypes
Serializable, Serializable, OrderFunctions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Order
  2. Serializable
  3. Serializable
  4. OrderFunctions
  5. AnyRef
  6. 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 allEqual[A]: Order[A]

    Permalink

    An Order instance that considers all A instances to be equal.

  5. final def apply[A](implicit ev: Order[A]): Order[A]

    Permalink

    Access an implicit Eq[A].

    Access an implicit Eq[A].

    Annotations
    @inline()
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def by[A, B](f: (A) ⇒ B)(implicit ev: Order[B]): Order[A]

    Permalink

    Convert an implicit Order[A] to an Order[B] using the given function f.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def compare[A](x: A, y: A)(implicit ev: Order[A]): Int

    Permalink
    Definition Classes
    OrderFunctions
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def eqv[A](x: A, y: A)(implicit ev: Order[A]): Boolean

    Permalink
    Definition Classes
    OrderFunctions
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def from[A](f: (A, A) ⇒ Int): Order[A]

    Permalink

    Define an Order[A] using the given function f.

  15. def fromOrdering[A](implicit ev: Ordering[A]): Order[A]

    Permalink
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def gt[A](x: A, y: A)(implicit ev: Order[A]): Boolean

    Permalink
    Definition Classes
    OrderFunctions
  18. def gteqv[A](x: A, y: A)(implicit ev: Order[A]): Boolean

    Permalink
    Definition Classes
    OrderFunctions
  19. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  21. def lt[A](x: A, y: A)(implicit ev: Order[A]): Boolean

    Permalink
    Definition Classes
    OrderFunctions
  22. def lteqv[A](x: A, y: A)(implicit ev: Order[A]): Boolean

    Permalink
    Definition Classes
    OrderFunctions
  23. def max[A](x: A, y: A)(implicit ev: Order[A]): A

    Permalink
    Definition Classes
    OrderFunctions
  24. def min[A](x: A, y: A)(implicit ev: Order[A]): A

    Permalink
    Definition Classes
    OrderFunctions
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. def neqv[A](x: A, y: A)(implicit ev: Order[A]): Boolean

    Permalink
    Definition Classes
    OrderFunctions
  27. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  29. implicit def ordering[A](implicit ev: Order[A]): Ordering[A]

    Permalink

    Implicitly convert a Order[A] to a scala.math.Ordering[A] instance.

  30. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def whenEqualMonoid[A]: Monoid[Order[A]]

    Permalink

    A Monoid[Order[A]] can be generated for all A with the following properties:

    A Monoid[Order[A]] can be generated for all A with the following properties:

    empty returns a trivial Order[A] which considers all A instances to be equal.

    combine(x: Order[A], y: Order[A]) creates an Order[A] that first orders by x and then (if two elements are equal) falls back to y.

    See also

    Order.whenEqual

Inherited from Serializable

Inherited from Serializable

Inherited from OrderFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped