class BitSet

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


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.
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
Burak Emir, Nikolay Mihaylov
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
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, toSeq, toStream, mkString, mkString, mkString, addString, 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]