|
Scala
1.2.0.1 |
|||
BitSet
...
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 |
abstract def size: Int
abstract def apply(i: Int): Boolean
final def booleanElements: Iterator[Boolean]
final def toSet(v: Boolean): TreeSet[Int]
[0..size]
whose elements are
indices of bits set to v
.
v
-
|
Scala
1.2.0.1 |
|||