ByteSigned

trait ByteSigned extends Signed[Byte] with ByteOrder
trait ByteOrder
trait Order[Byte]
trait PartialOrder[Byte]
trait Eq[Byte]
trait Serializable
trait Signed[Byte]
class Object
trait Matchable
class Any

Value members

Concrete methods

override
def abs(a: Byte): Byte
Definition Classes
Signed
def order: Order[Byte]
override
def signum(a: Byte): Int
Definition Classes
Signed

Inherited methods

def additiveCommutativeMonoid: AdditiveCommutativeMonoid[Byte]
Inherited from
Signed
def compare(x: Byte, y: Byte): Int
Inherited from
ByteOrder
def comparison(x: Byte, y: Byte): 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
override
def eqv(x: Byte, y: Byte): Boolean
Definition Classes
ByteOrder -> Order -> PartialOrder -> Eq
Inherited from
ByteOrder
override
def gt(x: Byte, y: Byte): Boolean
Definition Classes
ByteOrder -> Order -> PartialOrder
Inherited from
ByteOrder
override
def gteqv(x: Byte, y: Byte): Boolean
Definition Classes
ByteOrder -> Order -> PartialOrder
Inherited from
ByteOrder
def isSignNegative(a: Byte): Boolean
Inherited from
Signed
def isSignNonNegative(a: Byte): Boolean
Inherited from
Signed
def isSignNonPositive(a: Byte): Boolean
Inherited from
Signed
def isSignNonZero(a: Byte): Boolean
Inherited from
Signed
def isSignPositive(a: Byte): Boolean
Inherited from
Signed
def isSignZero(a: Byte): Boolean
Inherited from
Signed
override
def lt(x: Byte, y: Byte): Boolean
Definition Classes
ByteOrder -> Order -> PartialOrder
Inherited from
ByteOrder
override
def lteqv(x: Byte, y: Byte): Boolean
Definition Classes
ByteOrder -> Order -> PartialOrder
Inherited from
ByteOrder
def max(x: Byte, y: Byte): Byte

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

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

Inherited from
Order
def min(x: Byte, y: Byte): Byte

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

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

Inherited from
Order
override
def neqv(x: Byte, y: Byte): Boolean
Definition Classes
ByteOrder -> Order -> Eq
Inherited from
ByteOrder
def partialCompare(x: Byte, y: Byte): Double
Inherited from
Order
def partialComparison(x: Byte, y: Byte): 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: Byte, y: Byte): Option[Byte]

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: Byte, y: Byte): Option[Byte]

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 sign(a: Byte): Sign

Returns Zero if a is 0, Positive if a is positive, and Negative is a is negative.

Returns Zero if a is 0, Positive if a is positive, and Negative is a is negative.

Inherited from
Signed
def toOrdering: Ordering[Byte]

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: Byte, y: Byte): 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