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

void rene::util::MyVector::truncate ( int  n  )  [inline]

Trancate the vector to n elements, if it has more.

Definition at line 237 of file MyVector.java.

References compress().

Referenced by rene::zirkel::ZirkelCanvas::filter(), and rene::dialogs::MyFileDialog::getUndo().

      {     if (n>=ON) return;
            for (int i=n; i<OLast; i++) O[i]=null;

Generated by  Doxygen 1.6.0   Back to index