Packages

c

cats.kernel.instances

BigIntOrder

class BigIntOrder extends Order[BigInt] with Hash[BigInt] with BigIntUnboundedEnum

Source
BigIntInstances.scala
Linear Supertypes
BigIntUnboundedEnum, UnboundedEnumerable[BigInt], Previous[BigInt], PartialPrevious[BigInt], Next[BigInt], PartialNext[BigInt], Hash[BigInt], Order[BigInt], PartialOrder[BigInt], Eq[BigInt], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BigIntOrder
  2. BigIntUnboundedEnum
  3. UnboundedEnumerable
  4. Previous
  5. PartialPrevious
  6. Next
  7. PartialNext
  8. Hash
  9. Order
  10. PartialOrder
  11. Eq
  12. Serializable
  13. Serializable
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BigIntOrder()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  6. def compare(x: BigInt, y: BigInt): Int

    Result of comparing x with y.

    Result of comparing x with y. Returns an Int whose sign is: - negative iff x < y - zero iff x = y - positive iff x > y

    Definition Classes
    BigIntOrderOrder
  7. def comparison(x: BigInt, y: BigInt): Comparison

    Like compare, but returns a cats.kernel.Comparison instead of an Int.

    Like compare, but returns a cats.kernel.Comparison instead of an Int. Has the benefit of being able to pattern match on, but not as performant.

    Definition Classes
    Order
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def eqv(x: BigInt, y: BigInt): Boolean

    Returns true if x = y, false otherwise.

    Returns true if x = y, false otherwise.

    Definition Classes
    BigIntOrderOrderPartialOrderEq
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def gt(x: BigInt, y: BigInt): Boolean

    Returns true if x > y, false otherwise.

    Returns true if x > y, false otherwise.

    Definition Classes
    BigIntOrderOrderPartialOrder
  13. def gteqv(x: BigInt, y: BigInt): Boolean

    Returns true if x >= y, false otherwise.

    Returns true if x >= y, false otherwise.

    Definition Classes
    BigIntOrderOrderPartialOrder
  14. def hash(x: BigInt): Int

    Returns the hash code of the given object under this hashing scheme.

    Returns the hash code of the given object under this hashing scheme.

    Definition Classes
    BigIntOrderHash
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def lt(x: BigInt, y: BigInt): Boolean

    Returns true if x < y, false otherwise.

    Returns true if x < y, false otherwise.

    Definition Classes
    BigIntOrderOrderPartialOrder
  18. def lteqv(x: BigInt, y: BigInt): Boolean

    Returns true if x <= y, false otherwise.

    Returns true if x <= y, false otherwise.

    Definition Classes
    BigIntOrderOrderPartialOrder
  19. def max(x: BigInt, y: BigInt): BigInt

    If x > y, return x, else return y.

    If x > y, return x, else return y.

    Definition Classes
    BigIntOrderOrder
  20. def min(x: BigInt, y: BigInt): BigInt

    If x < y, return x, else return y.

    If x < y, return x, else return y.

    Definition Classes
    BigIntOrderOrder
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def neqv(x: BigInt, y: BigInt): Boolean

    Returns true if x != y, false otherwise.

    Returns true if x != y, false otherwise.

    Note: this default implementation provided by Order is the same as the one defined in Eq, but for purposes of binary compatibility, the override in Order has not yet been removed. See this discussion.

    Definition Classes
    BigIntOrderOrderEq
  23. def next(a: BigInt): BigInt
    Definition Classes
    BigIntUnboundedEnumNext
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  26. def order: Order[BigInt]
    Definition Classes
    BigIntOrderUnboundedEnumerable
  27. def partialCompare(x: BigInt, y: BigInt): Double

    Result of comparing x with y.

    Result of comparing x with y. Returns NaN if operands are not comparable. If operands are comparable, returns a Double whose sign is:

    • negative iff x < y
    • zero iff x = y
    • positive iff x > y
    Definition Classes
    OrderPartialOrder
  28. def partialComparison(x: BigInt, y: BigInt): Option[Comparison]

    Like partialCompare, but returns a cats.kernel.Comparison instead of an Double.

    Like partialCompare, but returns a cats.kernel.Comparison instead of an Double. Has the benefit of being able to pattern match on, but not as performant.

    Definition Classes
    PartialOrder
  29. def partialNext(a: BigInt): Option[BigInt]
    Definition Classes
    NextPartialNext
  30. def partialOrder: PartialOrder[BigInt]
  31. def partialPrevious(a: BigInt): Option[BigInt]
    Definition Classes
    PreviousPartialPrevious
  32. def pmax(x: BigInt, y: BigInt): Option[BigInt]

    Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.

    Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.

    Definition Classes
    PartialOrder
  33. def pmin(x: BigInt, y: BigInt): Option[BigInt]

    Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.

    Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.

    Definition Classes
    PartialOrder
  34. def previous(a: BigInt): BigInt
    Definition Classes
    BigIntUnboundedEnumPrevious
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toOrdering: Ordering[BigInt]

    Convert a Order[A] to a scala.math.Ordering[A] instance.

    Convert a Order[A] to a scala.math.Ordering[A] instance.

    Definition Classes
    Order
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. def tryCompare(x: BigInt, y: BigInt): Option[Int]

    Result of comparing x with y.

    Result of comparing x with y. Returns None if operands are not comparable. If operands are comparable, returns Some[Int] where the Int sign is:

    • negative iff x < y
    • zero iff x = y
    • positive iff x > y
    Definition Classes
    PartialOrder
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from BigIntUnboundedEnum

Inherited from UnboundedEnumerable[BigInt]

Inherited from Previous[BigInt]

Inherited from PartialPrevious[BigInt]

Inherited from Next[BigInt]

Inherited from PartialNext[BigInt]

Inherited from Hash[BigInt]

Inherited from Order[BigInt]

Inherited from PartialOrder[BigInt]

Inherited from Eq[BigInt]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped