LongIsBitString

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

Value members

Concrete methods

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

Inherited methods

override
def asBoolRing: BoolRing[Long]

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
def asCommutativeRig: CommutativeRig[Long]

Return a CommutativeRig using join and meet. Note this must obey the commutative rig laws since meet(a, one) = a, and meet and join are associative, commutative and distributive.

Return a CommutativeRig using join and meet. Note this must obey the commutative rig laws since meet(a, one) = a, and meet and join are associative, commutative and distributive.

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