in scala.collection.mutable
class BitSet

[scala.serializable]

class BitSet
extends scala.collection.BitSet
with scala.collection.mutable.Set[scala.Int]
with scala.ScalaObject
This class implements mutable, resizable Bit sets
Author:
Burak Emir, Nikolay Mihaylov
Version:
1.1
Parameters:
initSize - : 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
n
bits

def toImmutable : scala.collection.immutable.BitSet



Constructor Detail
def this
default constructor, initial size of 512 bits

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
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
n
bits

def toImmutable : scala.collection.immutable.BitSet