|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.util.BitSet
public final class BitSet
A bit set is a set of elements, each of which corresponds to a unique integer from [0,MAX].
Field Summary | |
---|---|
private BitSetMapping |
map
The bijection between integer to object. |
private BitVector |
vector
The backing bit vector that determines set membership. |
Constructor Summary | |
---|---|
BitSet(BitSetMapping map)
Constructor: create an empty set corresponding to a given mapping |
Method Summary | |
---|---|
void |
add(Object o)
Add an object to this bit set. |
void |
addAll(BitSet B)
Add all elements in bitset B to this bit set |
boolean |
contains(Object o)
Does this set contain a certain object? |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final BitVector vector
private final BitSetMapping map
Constructor Detail |
---|
public BitSet(BitSetMapping map)
Method Detail |
---|
public void addAll(BitSet B)
public void add(Object o)
public boolean contains(Object o)
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |