in scala/collection/mutable
class BitSet

class BitSet(initSize: Int)
extends BitSet
with ScalaObject

mutable, resizable bit sets, to represent dense sets of small integers Bit indices are between 0..(size-1) inclusive
Author:
Burak Emir
Parameters:
initSize: - initial size in nbits

Field Summary
protected val internal: ByteArray

Method Summary
  def apply(i: Int): Boolean
     returns true if bit i is set
  def clear(i: Int): Unit
  def ensureSize(nbits: Int): Unit
     size of this bitset in nbits
final def intSize(size: Int): Int
final def set(i: Int, b: Boolean): Unit
final def set(i: Int): Unit
  var size: Int
     size of this bitset in nbytes
  def toArray: Array[Int]

Methods inherited from java/lang/Object-class
clone, eq, equals, finalize, getClass, hashCode, notify, notifyAll, synchronized, toString, wait, wait, wait

Methods inherited from scala/Any-class
!=, ==, asInstanceOf, isInstanceOf, match

Methods inherited from scala/collection/BitSet-class
booleanElements, toSet

Class Summary
  class ByteArray()

Field Detail

internal

  protected val internal: ByteArray
Method Detail

intSize

  final def intSize(size: Int): Int

size

  var size: Int
size of this bitset in nbytes

ensureSize

  def ensureSize(nbits: Int): Unit
size of this bitset in nbits

set

  final def set(i: Int, b: Boolean): Unit

set

  final def set(i: Int): Unit

clear

  def clear(i: Int): Unit

apply

  def apply(i: Int): Boolean
returns true if bit i is set

toArray

  def toArray: Array[Int]