ShortIsBitString

@SerialVersionUID(0L)
class ShortIsBitString extends BitString[Short] with Serializable
trait BitString[Short]
trait Bool[Short]
trait GenBool[Short]
trait Heyting[Short]
trait BoundedDistributiveLattice[Short]
trait DistributiveLattice[Short]
trait BoundedLattice[Short]
trait BoundedJoinSemilattice[Short]
trait BoundedMeetSemilattice[Short]
trait Lattice[Short]
trait MeetSemilattice[Short]
trait JoinSemilattice[Short]
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def and(a: Short, b: Short): Short
def bitCount(n: Short): Int
def complement(a: Short): Short
def highestOneBit(n: Short): Short
def leftShift(n: Short, i: Int): Short
def lowestOneBit(n: Short): Short
def numberOfLeadingZeros(n: Short): Int
def numberOfTrailingZeros(n: Short): Int
def one: Short
def or(a: Short, b: Short): Short
def rightShift(n: Short, i: Int): Short
def rotateLeft(n: Short, i: Int): Short
def rotateRight(n: Short, i: Int): Short
def signed: Boolean
def signedRightShift(n: Short, i: Int): Short
def toHexString(n: Short): String
def width: Int
override
def xor(a: Short, b: Short): Short
Definition Classes
Bool -> GenBool -> Heyting
def zero: Short

Inherited methods

override
def asBoolRing: BoolRing[Short]

Every Boolean algebra is a BoolRing, with multiplication defined as and and addition defined as xor. Bool does not extend BoolRing because, e.g. we might want a Bool[Int] and CommutativeRing[Int] to refer to different structures, by default.

Every Boolean algebra is a BoolRing, with multiplication defined as and and addition defined as xor. Bool does not extend BoolRing because, e.g. we might want a Bool[Int] and CommutativeRing[Int] to refer to different structures, by default.

Note that the ring returned by this method is not an extension of the Rig returned from BoundedDistributiveLattice.asCommutativeRig.

Definition Classes
Bool -> GenBool
Inherited from
Bool
override
def dual: Bool[Short]
Definition Classes
Bool -> BoundedDistributiveLattice -> BoundedLattice -> Lattice
Inherited from
Bool
def imp(a: Short, b: Short): Short
Inherited from
Bool
def isOne(a: Short)(implicit ev: Eq[Short]): Boolean
Inherited from
BoundedMeetSemilattice
def isZero(a: Short)(implicit ev: Eq[Short]): Boolean
Inherited from
BoundedJoinSemilattice
override
def join(a: Short, b: Short): Short
Definition Classes
GenBool -> JoinSemilattice
Inherited from
GenBool
def joinPartialOrder(implicit ev: Eq[Short]): PartialOrder[Short]
Inherited from
JoinSemilattice
override
def joinSemilattice: BoundedSemilattice[Short]
Definition Classes
BoundedJoinSemilattice -> JoinSemilattice
Inherited from
BoundedJoinSemilattice
override
def meet(a: Short, b: Short): Short
Definition Classes
GenBool -> MeetSemilattice
Inherited from
GenBool
def meetPartialOrder(implicit ev: Eq[Short]): PartialOrder[Short]
Inherited from
MeetSemilattice
override
def meetSemilattice: BoundedSemilattice[Short]
Definition Classes
BoundedMeetSemilattice -> MeetSemilattice
Inherited from
BoundedMeetSemilattice
def nand(a: Short, b: Short): Short
Inherited from
Heyting
def nor(a: Short, b: Short): Short
Inherited from
Heyting
def nxor(a: Short, b: Short): Short
Inherited from
Heyting
def without(a: Short, b: Short): Short
Inherited from
Bool