scala.collection.immutable
class BitSet

[source: `scala/collection/immutable/BitSet.scala`]

@serializable
`` `class` BitSet(`val` size : Int, `val` capacity : Int, ba : Array[Int], copy : Boolean)
  `extends` BitSet

  The class `BitSet` provides an immutable bitset view on an int array. Instances can conveniently be created from instances of Bit indices are between `0..(capacity-1)` inclusive.

Parameters
  `size -` `size` represents the number of relevant bits
  `capacity -` ...
  `ba -` `ba` array of ints of length `n>>>5`
  `copy -` `copy` if yes, then `ba` is copied and updates will not affect this bitset
Author
  Burak Emir, Nikolay Mihaylov
Version
  1.0

Value Summary
`protected val` | arr : Array[Int]

Methods inherited from BitSet
contains, elements, equals, hashCode, subsetOf, memsize, nbits, offset, mask, underlying, stringPrefix

Methods inherited from Set
apply, isEmpty, *, **, toArray

Methods inherited from Collection
toString

Methods inherited from Iterable
concat, ++, map, flatMap, filter, partition, takeWhile, dropWhile, take, drop, foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, toStream, mkString, mkString, mkString, addString, addString, copyToArray, projection, hasDefiniteSize

Methods inherited from Function1
compose, andThen

Methods inherited from AnyRef
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized

Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

Value Details

`protected` `val` arr : Array[Int]

Overrides
  BitSet.arr