Object/Trait

scala.math.Numeric

LongIsIntegral

Related Docs: trait LongIsIntegral | package Numeric

Permalink

implicit object LongIsIntegral extends LongIsIntegral with LongOrdering

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LongIsIntegral
  2. LongOrdering
  3. LongIsIntegral
  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

    Permalink
    Definition Classes
    Integral
  2. class Ops extends AnyRef

    Permalink
    Definition Classes
    Numeric

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def abs(x: Long): Long

    Permalink
    Definition Classes
    Numeric
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def compare(x: Long, y: Long): Int

    Permalink

    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
    LongOrderingOrdering → Comparator
  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def equiv(x: Long, y: Long): Boolean

    Permalink

    Return true if x == y in the ordering.

    Return true if x == y in the ordering.

    Definition Classes
    OrderingPartialOrderingEquiv
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def fromInt(x: Int): Long

    Permalink
    Definition Classes
    LongIsIntegralNumeric
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def gt(x: Long, y: Long): Boolean

    Permalink

    Return true if x > y in the ordering.

    Return true if x > y in the ordering.

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

    Permalink

    Return true if x >= y in the ordering.

    Return true if x >= y in the ordering.

    Definition Classes
    OrderingPartialOrdering
  16. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  18. def lt(x: Long, y: Long): Boolean

    Permalink

    Return true if x < y in the ordering.

    Return true if x < y in the ordering.

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

    Permalink

    Return true if x <= y in the ordering.

    Return true if x <= y in the ordering.

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

    Permalink

    Return x if x >= y, otherwise y.

    Return x if x >= y, otherwise y.

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

    Permalink

    Return x if x <= y, otherwise y.

    Return x if x <= y, otherwise y.

    Definition Classes
    Ordering
  22. def minus(x: Long, y: Long): Long

    Permalink
    Definition Classes
    LongIsIntegralNumeric
  23. implicit def mkNumericOps(lhs: Long): IntegralOps

    Permalink
    Definition Classes
    IntegralNumeric
  24. implicit def mkOrderingOps(lhs: Long): LongIsIntegral.Ops

    Permalink

    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
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. def negate(x: Long): Long

    Permalink
    Definition Classes
    LongIsIntegralNumeric
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. def on[U](f: (U) ⇒ Long): Ordering[U]

    Permalink

    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
  30. def one: Long

    Permalink
    Definition Classes
    Numeric
  31. def plus(x: Long, y: Long): Long

    Permalink
    Definition Classes
    LongIsIntegralNumeric
  32. def quot(x: Long, y: Long): Long

    Permalink
    Definition Classes
    LongIsIntegralIntegral
  33. def rem(x: Long, y: Long): Long

    Permalink
    Definition Classes
    LongIsIntegralIntegral
  34. def reverse: Ordering[Long]

    Permalink

    Return the opposite ordering of this one.

    Return the opposite ordering of this one.

    Definition Classes
    OrderingPartialOrdering
  35. def reversed(): Comparator[Long]

    Permalink
    Definition Classes
    Comparator
  36. def signum(x: Long): Int

    Permalink
    Definition Classes
    Numeric
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. def thenComparing[U <: Comparable[_ >: U]](arg0: java.util.function.Function[_ >: Long, _ <: U]): Comparator[Long]

    Permalink
    Definition Classes
    Comparator
  39. def thenComparing[U](arg0: java.util.function.Function[_ >: Long, _ <: U], arg1: Comparator[_ >: U]): Comparator[Long]

    Permalink
    Definition Classes
    Comparator
  40. def thenComparing(arg0: Comparator[_ >: Long]): Comparator[Long]

    Permalink
    Definition Classes
    Comparator
  41. def thenComparingDouble(arg0: ToDoubleFunction[_ >: Long]): Comparator[Long]

    Permalink
    Definition Classes
    Comparator
  42. def thenComparingInt(arg0: ToIntFunction[_ >: Long]): Comparator[Long]

    Permalink
    Definition Classes
    Comparator
  43. def thenComparingLong(arg0: ToLongFunction[_ >: Long]): Comparator[Long]

    Permalink
    Definition Classes
    Comparator
  44. def times(x: Long, y: Long): Long

    Permalink
    Definition Classes
    LongIsIntegralNumeric
  45. def toDouble(x: Long): Double

    Permalink
    Definition Classes
    LongIsIntegralNumeric
  46. def toFloat(x: Long): Float

    Permalink
    Definition Classes
    LongIsIntegralNumeric
  47. def toInt(x: Long): Int

    Permalink
    Definition Classes
    LongIsIntegralNumeric
  48. def toLong(x: Long): Long

    Permalink
    Definition Classes
    LongIsIntegralNumeric
  49. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  50. def tryCompare(x: Long, y: Long): Some[Int]

    Permalink

    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
  51. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. def zero: Long

    Permalink
    Definition Classes
    Numeric

Inherited from LongOrdering

Inherited from LongIsIntegral

Inherited from Integral[Long]

Inherited from Numeric[Long]

Inherited from Ordering[Long]

Inherited from PartialOrdering[Long]

Inherited from Equiv[Long]

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from Comparator[Long]

Inherited from AnyRef

Inherited from Any

Ungrouped