case class BitSet(maxSize: Int, array: Array[Int]) extends Product with Serializable
Fast BitSet implementation (based on Spire's).
This mutable bitset is just intended to be a little bit faster than Scala's, and to support accessing its internals. It's not really general purpose -- many affordances that aren't needed have been left off.
MaxSize is the number of elements the bitset represents (with 1 or 0); the maxSize is static and cannot be expanded.
- Self Type
- BitSet
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BitSet
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new BitSet(maxSize: Int, array: Array[Int])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def &(rhs: BitSet): BitSet
- def &=(rhs: BitSet): Unit
- def +=(n: Int): Unit
- def -=(n: Int): Unit
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(n: Int): Boolean
- val array: Array[Int]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clear(): Unit
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def copy(): BitSet
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- BitSet → Equals → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- BitSet → AnyRef → Any
- def intersects(rhs: BitSet): Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterator: Iterator[Int]
- val maxSize: Int
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def size: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toSet: Set[Int]
-
def
toString(): String
- Definition Classes
- BitSet → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def |(rhs: BitSet): BitSet
- def |=(rhs: BitSet): Unit