|
Scala
1.3.0.7 |
|||
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(n: Int): Unit
ensure that this bitset can store at least nbits bits |
|
def makeImmutable: BitSet
returns an immutable bitset with same information |
|
def makeMutable: BitSet
returns this object |
|
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/ScalaObject-class |
getType |
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(n: 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]
def makeImmutable: BitSet
def makeMutable: BitSet
|
Scala
1.3.0.7 |
|||