in scala/collection/mutable
class ResizableBitSet

class ResizableBitSet(initSize: Int)
extends BitSet
with ScalaObject

resizable bit sets, to represent small sets of integers
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
final def byteSize(size: Int): Int
  def clear(i: Int): Unit
  def ensureSize(nbits: Int): Unit
     size of this bitset in nbits
final def set(i: Int, b: Boolean): Unit
final def set(i: Int): Unit
  var size: Int
     size of this bitset in nbytes
  def toByteArray: Array[Byte]

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

byteSize

  final def byteSize(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

toByteArray

  def toByteArray: Array[Byte]