Packages

class AnyOrdering[N] extends Ordering[N]

Ordering for Any with the following rules: numerical > string > any other reference type. If a reference type is not a subclass of Ordered, it will be ordered according to its toString value.

Linear Supertypes
Ordering[N], PartialOrdering[N], Equiv[N], Serializable, Serializable, Comparator[N], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AnyOrdering
  2. Ordering
  3. PartialOrdering
  4. Equiv
  5. Serializable
  6. Serializable
  7. Comparator
  8. AnyRef
  9. Any
Implicitly
  1. by ChainingOps
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AnyOrdering()

Type Members

  1. sealed case class FloatType(value: RichDouble) extends Type with Product with Serializable
    Attributes
    protected
  2. sealed case class IntegerType(value: RichLong) extends Type with Product with Serializable
    Attributes
    protected
  3. class Ops extends AnyRef
    Definition Classes
    Ordering
  4. sealed case class RefType(value: AnyRef) extends Type with Product with Serializable
    Attributes
    protected
  5. sealed case class StringType(value: WrappedString) extends Type with Product with Serializable
    Attributes
    protected
  6. sealed trait Type extends AnyRef
    Attributes
    protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from AnyOrdering[N] to any2stringadd[AnyOrdering[N]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (AnyOrdering[N], B)
    Implicit
    This member is added by an implicit conversion from AnyOrdering[N] to ArrowAssoc[AnyOrdering[N]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def compare(a: N, b: N): Int
    Definition Classes
    AnyOrdering → Ordering → Comparator
  9. def ensuring(cond: (AnyOrdering[N]) ⇒ Boolean, msg: ⇒ Any): AnyOrdering[N]
    Implicit
    This member is added by an implicit conversion from AnyOrdering[N] to Ensuring[AnyOrdering[N]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (AnyOrdering[N]) ⇒ Boolean): AnyOrdering[N]
    Implicit
    This member is added by an implicit conversion from AnyOrdering[N] to Ensuring[AnyOrdering[N]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): AnyOrdering[N]
    Implicit
    This member is added by an implicit conversion from AnyOrdering[N] to Ensuring[AnyOrdering[N]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): AnyOrdering[N]
    Implicit
    This member is added by an implicit conversion from AnyOrdering[N] to Ensuring[AnyOrdering[N]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def equiv(x: N, y: N): Boolean
    Definition Classes
    Ordering → PartialOrdering → Equiv
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from AnyOrdering[N] to StringFormat[AnyOrdering[N]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def gt(x: N, y: N): Boolean
    Definition Classes
    Ordering → PartialOrdering
  20. def gteq(x: N, y: N): Boolean
    Definition Classes
    Ordering → PartialOrdering
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def lt(x: N, y: N): Boolean
    Definition Classes
    Ordering → PartialOrdering
  24. def lteq(x: N, y: N): Boolean
    Definition Classes
    Ordering → PartialOrdering
  25. def max(x: N, y: N): N
    Definition Classes
    Ordering
  26. def min(x: N, y: N): N
    Definition Classes
    Ordering
  27. implicit def mkOrderingOps(lhs: N): Ops
    Definition Classes
    Ordering
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. def on[U](f: (U) ⇒ N): Ordering[U]
    Definition Classes
    Ordering
  32. def pipe[B](f: (AnyOrdering[N]) ⇒ B): B
    Implicit
    This member is added by an implicit conversion from AnyOrdering[N] to ChainingOps[AnyOrdering[N]] performed by method ChainingOps in scalax.collection.
    Definition Classes
    ChainingOps
  33. def reverse: Ordering[N]
    Definition Classes
    Ordering → PartialOrdering
  34. def reversed(): Comparator[N]
    Definition Classes
    Comparator
  35. val self: AnyOrdering[N]
    Implicit
    This member is added by an implicit conversion from AnyOrdering[N] to ChainingOps[AnyOrdering[N]] performed by method ChainingOps in scalax.collection.
    Definition Classes
    ChainingOps
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. def tap[U](f: (AnyOrdering[N]) ⇒ U): AnyOrdering[N]
    Implicit
    This member is added by an implicit conversion from AnyOrdering[N] to ChainingOps[AnyOrdering[N]] performed by method ChainingOps in scalax.collection.
    Definition Classes
    ChainingOps
  38. def thenComparing[U <: Comparable[_ >: U]](arg0: Function[_ >: N, _ <: U]): Comparator[N]
    Definition Classes
    Comparator
  39. def thenComparing[U](arg0: Function[_ >: N, _ <: U], arg1: Comparator[_ >: U]): Comparator[N]
    Definition Classes
    Comparator
  40. def thenComparing(arg0: Comparator[_ >: N]): Comparator[N]
    Definition Classes
    Comparator
  41. def thenComparingDouble(arg0: ToDoubleFunction[_ >: N]): Comparator[N]
    Definition Classes
    Comparator
  42. def thenComparingInt(arg0: ToIntFunction[_ >: N]): Comparator[N]
    Definition Classes
    Comparator
  43. def thenComparingLong(arg0: ToLongFunction[_ >: N]): Comparator[N]
    Definition Classes
    Comparator
  44. def toString(): String
    Definition Classes
    AnyRef → Any
  45. def tryCompare(x: N, y: N): Some[Int]
    Definition Classes
    Ordering → PartialOrdering
  46. def typeOf(x: Any): Product with Serializable with Type
    Attributes
    protected
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  50. def [B](y: B): (AnyOrdering[N], B)
    Implicit
    This member is added by an implicit conversion from AnyOrdering[N] to ArrowAssoc[AnyOrdering[N]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Ordering[N]

Inherited from PartialOrdering[N]

Inherited from Equiv[N]

Inherited from Serializable

Inherited from Serializable

Inherited from Comparator[N]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion ChainingOps from AnyOrdering[N] to ChainingOps[AnyOrdering[N]]

Inherited by implicit conversion any2stringadd from AnyOrdering[N] to any2stringadd[AnyOrdering[N]]

Inherited by implicit conversion StringFormat from AnyOrdering[N] to StringFormat[AnyOrdering[N]]

Inherited by implicit conversion Ensuring from AnyOrdering[N] to Ensuring[AnyOrdering[N]]

Inherited by implicit conversion ArrowAssoc from AnyOrdering[N] to ArrowAssoc[AnyOrdering[N]]

Ungrouped