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

int JLex::SparseBitSet::size (  ) [inline]

Calculates and returns the set's size

Definition at line 7669 of file Main.java.

References LG_BITS, and offs.

Referenced by clear(), clearAll(), elements(), get(), hashCode(), isValid(), set(), and SparseBitSet().

                      {
      return (size==0)?0:((1+offs[size-1]) << LG_BITS);
    }

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index