BitSetPartialOrder

class BitSetPartialOrder extends PartialOrder[BitSet] with Hash[BitSet]
trait Hash[BitSet]
trait PartialOrder[BitSet]
trait Eq[BitSet]
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

override def eqv(x: BitSet, y: BitSet): Boolean
Definition Classes
def hash(x: BitSet): Int
def partialCompare(x: BitSet, y: BitSet): Double

Inherited methods

def gt(x: BitSet, y: BitSet): Boolean

Returns true if x > y, false otherwise.

Returns true if x > y, false otherwise.

Inherited from
PartialOrder
def gteqv(x: BitSet, y: BitSet): Boolean

Returns true if x >= y, false otherwise.

Returns true if x >= y, false otherwise.

Inherited from
PartialOrder
def lt(x: BitSet, y: BitSet): Boolean

Returns true if x < y, false otherwise.

Returns true if x < y, false otherwise.

Inherited from
PartialOrder
def lteqv(x: BitSet, y: BitSet): Boolean

Returns true if x <= y, false otherwise.

Returns true if x <= y, false otherwise.

Inherited from
PartialOrder
def neqv(x: BitSet, y: BitSet): Boolean

Returns false if x and y are equivalent, true otherwise.

Returns false if x and y are equivalent, true otherwise.

Inherited from
Eq
def partialComparison(x: BitSet, y: BitSet): 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: BitSet, y: BitSet): Option[BitSet]

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

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 tryCompare(x: BitSet, y: BitSet): 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