BigIntegerOrder

trait BigIntegerOrder extends Order[BigInteger]
trait Order[BigInteger]
trait PartialOrder[BigInteger]
trait Eq[BigInteger]
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def compare(x: BigInteger, y: BigInteger): Int
override
def eqv(x: BigInteger, y: BigInteger): Boolean
Definition Classes
Order -> PartialOrder -> Eq
override
def gt(x: BigInteger, y: BigInteger): Boolean
Definition Classes
Order -> PartialOrder
override
def gteqv(x: BigInteger, y: BigInteger): Boolean
Definition Classes
Order -> PartialOrder
override
def lt(x: BigInteger, y: BigInteger): Boolean
Definition Classes
Order -> PartialOrder
override
def lteqv(x: BigInteger, y: BigInteger): Boolean
Definition Classes
Order -> PartialOrder
override
def max(x: BigInteger, y: BigInteger): BigInteger
Definition Classes
Order
override
def min(x: BigInteger, y: BigInteger): BigInteger
Definition Classes
Order
override
def neqv(x: BigInteger, y: BigInteger): Boolean
Definition Classes
Order -> Eq

Inherited methods

def comparison(x: BigInteger, y: BigInteger): Comparison

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.

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.

Inherited from
Order
def partialCompare(x: BigInteger, y: BigInteger): Double
Inherited from
Order
def partialComparison(x: BigInteger, y: BigInteger): Option[Comparison]

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.

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.

Inherited from
PartialOrder
def pmax(x: BigInteger, y: BigInteger): Option[BigInteger]

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.

Inherited from
PartialOrder
def pmin(x: BigInteger, y: BigInteger): Option[BigInteger]

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.

Inherited from
PartialOrder
def toOrdering: Ordering[BigInteger]

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

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

Inherited from
Order
def tryCompare(x: BigInteger, y: BigInteger): Option[Int]

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:

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
Inherited from
PartialOrder