scala.math.Ordering

Byte

object Byte extends ByteOrdering

attributes: implicit

Inherits

  1. ByteOrdering
  2. Ordering
  3. PartialOrdering
  4. Equiv
  5. Comparator
  6. AnyRef
  7. Any

Type Members

  1. class Ops extends AnyRef

Value Members

  1. def compare(x: Byte, y: Byte): Int

    Returns a negative integer iff x comes before y in the ordering, returns 0 iff x is the same in the ordering as y, and returns a positive number iff x comes after y in the ordering

  2. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence

  3. def equiv(x: T, y: T): Boolean

    Returns true iff x is equivalent to y in the ordering

  4. def gt(x: T, y: T): Boolean

    Returns true iff y comes before x in the ordering and is not the same as x

  5. def gteq(x: T, y: T): Boolean

    Returns true iff y comes before x in the ordering

  6. def hashCode(): Int

    Returns a hash code value for the object

  7. def lt(x: T, y: T): Boolean

    Returns true iff x comes before y in the ordering and is not the same as y

  8. def lteq(x: T, y: T): Boolean

    Returns true iff x comes before y in the ordering

  9. def max(x: T, y: T): T

    Returns the argument which comes later in the ordering

  10. def min(x: T, y: T): T

    Returns the argument which comes earlier in the ordering

  11. def mkOrderingOps(lhs: T): Ops

  12. def on[U](f: (U) ⇒ T): Ordering[U]

    Given a function U => T, creates Ordering[U]

  13. def reverse: Ordering[T]

  14. def toString(): String

    Returns a string representation of the object

  15. def tryCompare(x: T, y: T): Some[Int]

    An Ordering is defined at all x and y