Packages

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
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BitSet
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BitSet(maxSize: Int, array: Array[Int])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def &(rhs: BitSet): BitSet
  4. def &=(rhs: BitSet): Unit
  5. def +=(n: Int): Unit
  6. def -=(n: Int): Unit
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def apply(n: Int): Boolean
  9. val array: Array[Int]
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clear(): Unit
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  13. def copy(): BitSet
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(that: Any): Boolean
    Definition Classes
    BitSet → Equals → AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    BitSet → AnyRef → Any
  19. def intersects(rhs: BitSet): Boolean
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def iterator: Iterator[Int]
  22. val maxSize: Int
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def size: Int
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toSet: Set[Int]
  29. def toString(): String
    Definition Classes
    BitSet → AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  33. def |(rhs: BitSet): BitSet
  34. def |=(rhs: BitSet): Unit

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped