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

boolean JLex::SparseBitSet::isValid (  ) [inline, private]

Check validity.

Definition at line 7756 of file Main.java.

References bits, offs, and size().

                              {
      if (bits.length!=offs.length) return false;
      if (size>bits.length) return false;
      if (size!=0 && 0<=offs[0]) return false;
      for (int i=1; i<size; i++)
          if (offs[i] < offs[i-1])
                return false;
      return true;
    }

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index