Packages

implicit object ByteIsIntegral extends ByteIsIntegral with ByteOrdering

Source
Numeric.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ByteIsIntegral
  2. ByteOrdering
  3. ByteIsIntegral
  4. Integral
  5. Numeric
  6. Ordering
  7. PartialOrdering
  8. Equiv
  9. Serializable
  10. Serializable
  11. Comparator
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class IntegralOps extends Ops
    Definition Classes
    Integral
  2. class Ops extends AnyRef
    Definition Classes
    Numeric

Value Members

  1. def abs(x: Byte): Byte
    Definition Classes
    Numeric
  2. def compare(x: Byte, y: Byte): Int

    Returns an integer whose sign communicates how x compares to y.

    Returns an integer whose sign communicates how x compares to y.

    The result sign has the following meaning:

    • negative if x < y
    • positive if x > y
    • zero otherwise (if x == y)
    Definition Classes
    ByteOrderingOrdering → Comparator
  3. def equiv(x: Byte, y: Byte): Boolean

    Return true if x == y in the ordering.

    Return true if x == y in the ordering.

    Definition Classes
    OrderingPartialOrderingEquiv
  4. def fromInt(x: Int): Byte
    Definition Classes
    ByteIsIntegralNumeric
  5. def gt(x: Byte, y: Byte): Boolean

    Return true if x > y in the ordering.

    Return true if x > y in the ordering.

    Definition Classes
    OrderingPartialOrdering
  6. def gteq(x: Byte, y: Byte): Boolean

    Return true if x >= y in the ordering.

    Return true if x >= y in the ordering.

    Definition Classes
    OrderingPartialOrdering
  7. def lt(x: Byte, y: Byte): Boolean

    Return true if x < y in the ordering.

    Return true if x < y in the ordering.

    Definition Classes
    OrderingPartialOrdering
  8. def lteq(x: Byte, y: Byte): Boolean

    Return true if x <= y in the ordering.

    Return true if x <= y in the ordering.

    Definition Classes
    OrderingPartialOrdering
  9. def max(x: Byte, y: Byte): Byte

    Return x if x >= y, otherwise y.

    Return x if x >= y, otherwise y.

    Definition Classes
    Ordering
  10. def min(x: Byte, y: Byte): Byte

    Return x if x <= y, otherwise y.

    Return x if x <= y, otherwise y.

    Definition Classes
    Ordering
  11. def minus(x: Byte, y: Byte): Byte
    Definition Classes
    ByteIsIntegralNumeric
  12. implicit def mkNumericOps(lhs: Byte): IntegralOps
    Definition Classes
    IntegralNumeric
  13. implicit def mkOrderingOps(lhs: Byte): ByteIsIntegral.Ops

    This implicit method augments T with the comparison operators defined in scala.math.Ordering.Ops.

    This implicit method augments T with the comparison operators defined in scala.math.Ordering.Ops.

    Definition Classes
    Ordering
  14. def negate(x: Byte): Byte
    Definition Classes
    ByteIsIntegralNumeric
  15. def on[U](f: (U) ⇒ Byte): Ordering[U]

    Given f, a function from U into T, creates an Ordering[U] whose compare function is equivalent to:

    Given f, a function from U into T, creates an Ordering[U] whose compare function is equivalent to:

    def compare(x:U, y:U) = Ordering[T].compare(f(x), f(y))
    Definition Classes
    Ordering
  16. def one: Byte
    Definition Classes
    Numeric
  17. def plus(x: Byte, y: Byte): Byte
    Definition Classes
    ByteIsIntegralNumeric
  18. def quot(x: Byte, y: Byte): Byte
    Definition Classes
    ByteIsIntegralIntegral
  19. def rem(x: Byte, y: Byte): Byte
    Definition Classes
    ByteIsIntegralIntegral
  20. def reverse: Ordering[Byte]

    Return the opposite ordering of this one.

    Return the opposite ordering of this one.

    Definition Classes
    OrderingPartialOrdering
  21. def reversed(): Comparator[Byte]
    Definition Classes
    Comparator
  22. def signum(x: Byte): Int
    Definition Classes
    Numeric
  23. def thenComparing[U <: Comparable[_ >: U]](arg0: java.util.function.Function[_ >: Byte, _ <: U]): Comparator[Byte]
    Definition Classes
    Comparator
  24. def thenComparing[U](arg0: java.util.function.Function[_ >: Byte, _ <: U], arg1: Comparator[_ >: U]): Comparator[Byte]
    Definition Classes
    Comparator
  25. def thenComparing(arg0: Comparator[_ >: Byte]): Comparator[Byte]
    Definition Classes
    Comparator
  26. def thenComparingDouble(arg0: ToDoubleFunction[_ >: Byte]): Comparator[Byte]
    Definition Classes
    Comparator
  27. def thenComparingInt(arg0: ToIntFunction[_ >: Byte]): Comparator[Byte]
    Definition Classes
    Comparator
  28. def thenComparingLong(arg0: ToLongFunction[_ >: Byte]): Comparator[Byte]
    Definition Classes
    Comparator
  29. def times(x: Byte, y: Byte): Byte
    Definition Classes
    ByteIsIntegralNumeric
  30. def toDouble(x: Byte): Double
    Definition Classes
    ByteIsIntegralNumeric
  31. def toFloat(x: Byte): Float
    Definition Classes
    ByteIsIntegralNumeric
  32. def toInt(x: Byte): Int
    Definition Classes
    ByteIsIntegralNumeric
  33. def toLong(x: Byte): Long
    Definition Classes
    ByteIsIntegralNumeric
  34. def tryCompare(x: Byte, y: Byte): Some[Int]

    Returns whether a comparison between x and y is defined, and if so the result of compare(x, y).

    Returns whether a comparison between x and y is defined, and if so the result of compare(x, y).

    Definition Classes
    OrderingPartialOrdering
  35. def zero: Byte
    Definition Classes
    Numeric