public final class BitSet extends Object
Modifier and Type | Field and Description |
---|---|
static int |
SINGLE_BYTE_SIZE |
Constructor and Description |
---|
BitSet() |
Modifier and Type | Method and Description |
---|---|
void |
and(BitSet other) |
boolean |
at(int pos) |
void |
clear() |
void |
clear(int pos) |
void |
copy(BitSet other) |
void |
invert() |
void |
invert(int pos) |
void |
invertTo(BitSet to) |
boolean |
isEmpty() |
int |
numOn() |
void |
or(BitSet other) |
void |
set(int pos) |
void |
setAll() |
void |
setRange(int from,
int to) |
String |
toString() |
public static final int SINGLE_BYTE_SIZE
public boolean at(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(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)
public int numOn()
Copyright © 2017. All Rights Reserved.