A Set of BitPat represents a set of bit vector with mask.
Attributes
- Companion
- object
- Source
- BitPat.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class BitPat
- Self type
Members list
Value members
Concrete methods
Check whether this BitSet covers that (i.e. forall b matches that, b also matches this)
Check whether this BitSet covers that (i.e. forall b matches that, b also matches this)
Value parameters
- that
-
BitSetto b covered
Attributes
- Returns
-
true if this
BitSetcan cover thatBitSet - Source
- BitPat.scala
Test whether two BitSet matches the same set of value
Test whether two BitSet matches the same set of value
Attributes
- Returns
-
true if two
BitSetis same. - Note
-
This method can be very expensive compared to ordinary == operator between two Objects
- Definition Classes
-
Any
- Source
- BitPat.scala
Get specified width of said BitSet
Intersect this and that BitSet.
Intersect this and that BitSet.
Value parameters
- that
-
BitSetto be intersected.
Attributes
- Returns
-
a
BitSetcontaining all elements ofthisthat also belong tothat. - Source
- BitPat.scala
Calculate the inverse of this pattern set.
Calculate the inverse of this pattern set.
Attributes
- Returns
-
A BitSet matching all value (of the given with) iff it doesn't match this pattern.
- Source
- BitPat.scala
whether this BitSet is empty (i.e. no value matches)
Attributes
- Source
- BitPat.scala
Check whether this BitSet overlap with that BitSet, i.e. !(intersect.isEmpty)
Check whether this BitSet overlap with that BitSet, i.e. !(intersect.isEmpty)
Value parameters
- that
-
BitSetto be checked.
Attributes
- Returns
-
true if this and that
BitSethave overlap. - Source
- BitPat.scala
Subtract that from this BitSet.
Subtract that from this BitSet.
Value parameters
- that
-
subtrahend
BitSet.
Attributes
- Returns
-
a
BitSetcontining elements ofthiswhich are not the elements ofthat. - Source
- BitPat.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
- Source
- BitPat.scala
Union this and that BitSet
Union this and that BitSet
Value parameters
- that
-
BitSetto union.
Attributes
- Returns
-
a
BitSetcontaining all elements ofthisandthat. - Source
- BitPat.scala