in scala/collection
class BitSet

abstract class BitSet()
extends Object
with ScalaObject
with (Int) => Boolean
Implementing classes or objects:
class ResizableBitSet(initSize: Int) in scala/collection/mutable
class BitSet($0: Int, $1: Array[Byte], $2: Boolean) in scala/collection/immutable

The class BitSet ...
Author:
Burak Emir
Version:
1.0

Method Summary
abstract def apply(i: Int): Boolean
     returns true if bit i is set
final def booleanElements: Iterator[Boolean]
     returns an iterator over the truth values of all bits
abstract def size: Int
     number of bits in this bitset
final def toSet(v: Boolean): TreeSet[Int]
     returns the subset of [0..size] whose elements are indices of bits set to v.

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

Method Detail

size

  abstract def size: Int
number of bits in this bitset

apply

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

booleanElements

  final def booleanElements: Iterator[Boolean]
returns an iterator over the truth values of all bits

toSet

  final def toSet(v: Boolean): TreeSet[Int]
returns the subset of [0..size] whose elements are indices of bits set to v.
Parameters:
v -