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

String JLex::SparseBitSet::toString (  )  [inline]

Converts the SparseBitSet to a String.

Definition at line 7744 of file Main.java.

References elements().

                             {
      StringBuffer sb = new StringBuffer();
      sb.append('{');
      for (Enumeration e=elements(); e.hasMoreElements(); ) {
          if (sb.length() > 1) sb.append(", ");
          sb.append(e.nextElement());
      }
      sb.append('}');
      return sb.toString();
    }


Generated by  Doxygen 1.6.0   Back to index