Object/Trait

cats.kernel

Order

Related Docs: trait Order | package kernel

Permalink

object Order extends OrderFunctions[Order] with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Order
  2. Serializable
  3. Serializable
  4. OrderFunctions
  5. PartialOrderFunctions
  6. EqFunctions
  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 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 Order[A].

    Access an implicit Order[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[B] to an Order[A] using the given function f.

  8. implicit def catsKernelOrderingForOrder[A](implicit ev: Order[A]): Ordering[A]

    Permalink

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

  9. def clone(): AnyRef

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

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

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

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

    Permalink
    Definition Classes
    EqFunctions
  14. def finalize(): Unit

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

    Permalink

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

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

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

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

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

    Permalink
    Definition Classes
    PartialOrderFunctions
  20. def hashCode(): Int

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    EqFunctions
  28. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  30. def partialCompare[A](x: A, y: A)(implicit ev: Order[A]): Double

    Permalink
    Definition Classes
    PartialOrderFunctions
  31. def pmax[A](x: A, y: A)(implicit ev: Order[A]): Option[A]

    Permalink
    Definition Classes
    PartialOrderFunctions
  32. def pmin[A](x: A, y: A)(implicit ev: Order[A]): Option[A]

    Permalink
    Definition Classes
    PartialOrderFunctions
  33. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  35. def tryCompare[A](x: A, y: A)(implicit ev: Order[A]): Option[Int]

    Permalink
    Definition Classes
    PartialOrderFunctions
  36. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def whenEqualMonoid[A]: Monoid[Order[A]] with Band[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.

    This monoid is also a Band[Order[A]] since its combine operations is idempotent.

    See also

    Order.whenEqual

Inherited from Serializable

Inherited from Serializable

Inherited from OrderFunctions[Order]

Inherited from PartialOrderFunctions[Order]

Inherited from EqFunctions[Order]

Inherited from AnyRef

Inherited from Any

Ungrouped