PROPOSAL: Enhanced for each loop iteration control

Marek Kozieł develop4lasu at gmail.com
Sat Mar 28 05:02:48 PDT 2009


As Isaid, in my opinion while-each is better, because complexity is much lower:
   void test(ExtendedIterator<Some> iterator){
      while( final some : iterator ){
          iterator.index();
          iterator.remove();
          and other...
      }
   }

-- 
Pozdrowionka. / Regards.
Lasu aka Marek Kozieł

http://lasu2string.blogspot.com/



More information about the coin-dev mailing list