Packages

trait LongIsIntegral extends Integral[Long]

Source
Numeric.scala
Linear Supertypes
Integral[Long], Numeric[Long], Ordering[Long], PartialOrdering[Long], Equiv[Long], Serializable, java.io.Serializable, Comparator[Long], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LongIsIntegral
  2. Integral
  3. Numeric
  4. Ordering
  5. PartialOrdering
  6. Equiv
  7. Serializable
  8. Serializable
  9. Comparator
  10. AnyRef
  11. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  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

Abstract Value Members

  1. abstract def compare(x: Long, y: Long): 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
    Ordering → Comparator

Concrete Value Members

  1. def abs(x: Long): Long
    Definition Classes
    Numeric
  2. def equiv(x: Long, y: Long): Boolean

    Return true if x == y in the ordering.

    Return true if x == y in the ordering.

    Definition Classes
    OrderingPartialOrderingEquiv
  3. def fromInt(x: Int): Long
    Definition Classes
    LongIsIntegralNumeric
  4. def gt(x: Long, y: Long): Boolean

    Return true if x > y in the ordering.

    Return true if x > y in the ordering.

    Definition Classes
    OrderingPartialOrdering
  5. def gteq(x: Long, y: Long): Boolean

    Return true if x >= y in the ordering.

    Return true if x >= y in the ordering.

    Definition Classes
    OrderingPartialOrdering
  6. def lt(x: Long, y: Long): Boolean

    Return true if x < y in the ordering.

    Return true if x < y in the ordering.

    Definition Classes
    OrderingPartialOrdering
  7. def lteq(x: Long, y: Long): Boolean

    Return true if x <= y in the ordering.

    Return true if x <= y in the ordering.

    Definition Classes
    OrderingPartialOrdering
  8. def max(x: Long, y: Long): Long

    Return x if x >= y, otherwise y.

    Return x if x >= y, otherwise y.

    Definition Classes
    Ordering
  9. def min(x: Long, y: Long): Long

    Return x if x <= y, otherwise y.

    Return x if x <= y, otherwise y.

    Definition Classes
    Ordering
  10. def minus(x: Long, y: Long): Long
    Definition Classes
    LongIsIntegralNumeric
  11. implicit def mkNumericOps(lhs: Long): IntegralOps
    Definition Classes
    IntegralNumeric
  12. implicit def mkOrderingOps(lhs: Long): LongIsIntegral.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
  13. def negate(x: Long): Long
    Definition Classes
    LongIsIntegralNumeric
  14. def on[U](f: (U) ⇒ Long): 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
  15. def one: Long
    Definition Classes
    Numeric
  16. def plus(x: Long, y: Long): Long
    Definition Classes
    LongIsIntegralNumeric
  17. def quot(x: Long, y: Long): Long
    Definition Classes
    LongIsIntegralIntegral
  18. def rem(x: Long, y: Long): Long
    Definition Classes
    LongIsIntegralIntegral
  19. def reverse: Ordering[Long]

    Return the opposite ordering of this one.

    Return the opposite ordering of this one.

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