Public Methods | |
IntSet () | |
void | and (IntSet set) |
void | clear (int bit) |
Object | clone () |
int | elementCount () |
int[] | elements () |
boolean | equals (Object obj) |
boolean | get (int bit) |
int | hashCode () |
void | or (IntSet set) |
void | set (int bit) |
int | size () |
String | toString () |
void | xor (IntSet set) |
Private Methods | |
IntSet (IntSet set) | |
void | grow () |
Private Attributes | |
int[] | elements |
int | size |
This class is useful for sparse bit sets. In addition to the methods of BitSet, this class provides a useful elements() method.
Definition at line 79 of file IntSet.java.
|
Returns the size as if it was a BitSet Definition at line 280 of file IntSet.java. Referenced by TypeResolver::TypeResolver(), and TypeResolver::resolveComplexRelations().
|