|
Scala
1.3.0.4 |
|||
initSize: -
initial size in nbits
| Field Summary | |
protected
|
val internal: ByteArray
|
| Method Summary | |
def apply(i: Int): Boolean
gets i-th bit. |
|
def clear(i: Int): Unit
clears i-th bit. |
|
def ensureSize(nbits: Int): Unit
size of this bitset in nbits |
|
final
|
def set(i: Int, b: Boolean): Unit
calls set or clear for i-th bit |
final
|
def set(i: Int): Unit
sets i-th bit to true. |
var size: Int
size of this bitset in nbytes |
|
def toArray: Array[Int]
|
|
| Methods inherited from java/lang/Object-class |
| clone, eq, finalize, getClass, hashCode, notify, notifyAll, synchronized, wait, wait, wait |
| Methods inherited from scala/Any-class |
| !=, ==, asInstanceOf, isInstanceOf, match |
| Methods inherited from scala/collection/BitSet-class |
| booleanElements, equals, memsize, toSet, toString |
| Class Summary | |
class ByteArray()
|
|
| Field Detail |
protected val internal: ByteArray
| Method Detail |
var size: Int
def ensureSize(nbits: Int): Unit
final def set(i: Int, b: Boolean): Unit
final def set(i: Int): Unit
def clear(i: Int): Unit
def apply(i: Int): Boolean
def toArray: Array[Int]
|
Scala
1.3.0.4 |
|||