Logo Search packages:      
Sourcecode: jlex version File versions  Download package

Classes | Public Member Functions | Static Public Member Functions | Package Attributes | Private Member Functions | Static Private Member Functions | Static Private Attributes

JLex::SparseBitSet Class Reference

Collaboration diagram for JLex::SparseBitSet:
Collaboration graph

List of all members.


interface  BinOp

Public Member Functions

void and (SparseBitSet set)
void clear (int bit)
void clearAll ()
Object clone ()
Enumeration elements ()
boolean equals (Object obj)
boolean get (int bit)
int hashCode ()
void or (SparseBitSet set)
void set (int bit)
int size ()
 SparseBitSet (int nbits)
 SparseBitSet ()
 SparseBitSet (SparseBitSet set)
String toString ()
void xor (SparseBitSet set)

Static Public Member Functions

static boolean equals (SparseBitSet a, SparseBitSet b)
static void main (String[] args)

Package Attributes

long bits []
int offs []
int size

Private Member Functions

int bsearch (int bnum)
void insert_block (int idx, int bnum)
boolean isValid ()
void new_block (int bnum)
void new_block (int idx, int bnum)

Static Private Member Functions

static final void binop (SparseBitSet a, SparseBitSet b, BinOp op)

Static Private Attributes

static final BinOp AND
static final int BITS = 1<<LG_BITS
static final int BITS_M1 = BITS-1
static final int LG_BITS = 6
static final BinOp OR
static final BinOp XOR

Detailed Description

A set of bits. The set automatically grows as more bits are needed.

1.00, 25 Jul 1999
C. Scott Ananian

Definition at line 7455 of file Main.java.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index