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

Object JLex::SparseBitSet::clone (  ) [inline]

Clones the SparseBitSet.

Definition at line 7703 of file Main.java.

References bits, clone(), offs, and SparseBitSet().

Referenced by clone(), and main().

      try { 
          SparseBitSet set = (SparseBitSet)super.clone();
          set.bits = (long[]) bits.clone();
          set.offs = (int []) offs.clone();
          return set;
      } catch (CloneNotSupportedException e) {
          // this shouldn't happen, since we are Cloneable
          throw new InternalError();

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