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

boolean JLex::SparseBitSet::get ( int  bit ) [inline]

Gets a bit.

bitthe bit to be gotten

Definition at line 7566 of file Main.java.

References bits, BITS_M1, LG_BITS, offs, and size().

Referenced by JLex::CSimplifyNfa::computeClasses(), and main().

      int bnum = bit >> LG_BITS;
      int idx  = bsearch(bnum);
      if (idx >= size || offs[idx]!=bnum)
          return false;
      return 0 != ( bits[idx] & (1L << (bit & BITS_M1) ) );

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index