|
Scala 2.2.0
|
class
BitSet
extends
scala.collection.BitSet with
scala.collection.mutable.Set[scala.Int] with
scala.ScalaObjectinitSize -
: initial size in bits
Constructor Summary | |
def
this
default constructor, initial size of 512 bits |
|
def
this
(initSize: scala.Int)
|
Var Summary | |
protected
|
var
arr
: scala.Array[scala.Int]
|
var
capacity
: scala.Int
|
|
var
size
: scala.Int
|
Def Summary | |
def
+=
(i: scala.Int)
: scala.Unit
Sets ith bit to true.
No restriction on i
|
|
def
-=
(i: scala.Int)
: scala.Unit
Clears ith bit
|
|
def
clear
: scala.Unit
|
|
override
|
def
clone
: scala.collection.mutable.BitSet
|
def
ensureCapacity
(n: scala.Int)
: scala.Unit
ensure that this bitset can store at least nbits |
|
def
toImmutable
: scala.collection.immutable.BitSet
|
Constructor Detail |
def
this
def
this
(initSize: scala.Int)
Var Detail |
protected
var
arr
: scala.Array[scala.Int]
var
capacity
: scala.Int
var
size
: scala.Int
Def Detail |
def
+=
(i: scala.Int): scala.Unit
ith
bit to true.
No restriction on i
def
-=
(i: scala.Int): scala.Unit
ith
bit
def
clear
: scala.Unit
override
def
clone
: scala.collection.mutable.BitSet
def
ensureCapacity
(n: scala.Int): scala.Unit
nbits
def
toImmutable
: scala.collection.immutable.BitSet