public final class BitSet
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int[] |
bits |
static int |
BITS_IN_ROOM |
(package private) static int |
BITS_PER_BYTE |
private static int |
BITS_TO_STRING_WRAP |
static int |
BITSET_SIZE |
(package private) static int |
ROOM_SHIFT |
static int |
SINGLE_BYTE_SIZE |
Constructor and Description |
---|
BitSet() |
Modifier and Type | Method and Description |
---|---|
void |
and(BitSet other) |
boolean |
at(int pos) |
private static int |
bit(int pos) |
void |
clear() |
void |
clear(int pos) |
void |
copy(BitSet other) |
void |
invert() |
void |
invert(int pos) |
void |
invertTo(BitSet to) |
boolean |
isEmpty() |
private static int |
log2(int n) |
(package private) int |
numOn() |
void |
or(BitSet other) |
void |
set(int pos) |
void |
set(ScanEnvironment env,
int pos) |
void |
setAll() |
void |
setRange(ScanEnvironment env,
int from,
int to) |
java.lang.String |
toString() |
static final int BITS_PER_BYTE
public static final int SINGLE_BYTE_SIZE
public static final int BITS_IN_ROOM
public static final int BITSET_SIZE
static final int ROOM_SHIFT
public final int[] bits
private static final int BITS_TO_STRING_WRAP
public boolean at(int pos)
public void set(ScanEnvironment env, int pos)
public void set(int pos)
public void clear(int pos)
public void invert(int pos)
public void clear()
public boolean isEmpty()
public void setRange(ScanEnvironment env, int from, int to)
public void setAll()
public void invert()
public void invertTo(BitSet to)
public void and(BitSet other)
public void or(BitSet other)
public void copy(BitSet other)
int numOn()
private static int bit(int pos)
private static int log2(int n)
public java.lang.String toString()
toString
in class java.lang.Object