scalax.collection.generic

AnyOrdering

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
Type Hierarchy Learn more about scaladoc diagrams
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 any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from AnyOrdering[N] to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (AnyOrdering[N], B)

    Implicit information
    This member is added by an implicit conversion from AnyOrdering[N] to ArrowAssoc[AnyOrdering[N]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def compare(a: N, b: N): Int

    Definition Classes
    AnyOrdering → Ordering → Comparator
  11. def ensuring(cond: (AnyOrdering[N]) ⇒ Boolean, msg: ⇒ Any): AnyOrdering[N]

    Implicit information
    This member is added by an implicit conversion from AnyOrdering[N] to Ensuring[AnyOrdering[N]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (AnyOrdering[N]) ⇒ Boolean): AnyOrdering[N]

    Implicit information
    This member is added by an implicit conversion from AnyOrdering[N] to Ensuring[AnyOrdering[N]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): AnyOrdering[N]

    Implicit information
    This member is added by an implicit conversion from AnyOrdering[N] to Ensuring[AnyOrdering[N]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): AnyOrdering[N]

    Implicit information
    This member is added by an implicit conversion from AnyOrdering[N] to Ensuring[AnyOrdering[N]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  17. def equiv(x: N, y: N): Boolean

    Definition Classes
    Ordering → PartialOrdering → Equiv
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from AnyOrdering[N] to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def gt(x: N, y: N): Boolean

    Definition Classes
    Ordering → PartialOrdering
  22. def gteq(x: N, y: N): Boolean

    Definition Classes
    Ordering → PartialOrdering
  23. def hashCode(): Int

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

    Definition Classes
    Any
  25. def lt(x: N, y: N): Boolean

    Definition Classes
    Ordering → PartialOrdering
  26. def lteq(x: N, y: N): Boolean

    Definition Classes
    Ordering → PartialOrdering
  27. def max(x: N, y: N): N

    Definition Classes
    Ordering
  28. def min(x: N, y: N): N

    Definition Classes
    Ordering
  29. implicit def mkOrderingOps(lhs: N): Ops

    Definition Classes
    Ordering
  30. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  33. def on[U](f: (U) ⇒ N): Ordering[U]

    Definition Classes
    Ordering
  34. def reverse: Ordering[N]

    Definition Classes
    Ordering → PartialOrdering
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. def tryCompare(x: N, y: N): Some[Int]

    Definition Classes
    Ordering → PartialOrdering
  38. def typeOf(x: Any): Product with Serializable with Type

    Attributes
    protected
  39. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def [B](y: B): (AnyOrdering[N], B)

    Implicit information
    This member is added by an implicit conversion from AnyOrdering[N] to ArrowAssoc[AnyOrdering[N]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from AnyOrdering[N] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (anyOrdering: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from AnyOrdering[N] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (anyOrdering: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: AnyOrdering[N]

    Implicit information
    This member is added by an implicit conversion from AnyOrdering[N] to ArrowAssoc[AnyOrdering[N]] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (anyOrdering: ArrowAssoc[AnyOrdering[N]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: AnyOrdering[N]

    Implicit information
    This member is added by an implicit conversion from AnyOrdering[N] to Ensuring[AnyOrdering[N]] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (anyOrdering: Ensuring[AnyOrdering[N]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

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 any2stringadd from AnyOrdering[N] to StringAdd

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

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

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

Ungrouped