original_string: public function importInto(ArrayBase $collection)
      {
          if($this->iterator instanceof \Iterator)
          {
              $i = 0;
              foreach($this->iterator as $key => $row)
              {
                  if($this->iteratorendindex>=0 && $i>$this->iteratorendindex)
                  {
                      break;
                  }
                  elseif($i>=$this->iteratorstartindex)
                  {
                      $tempkey = $key;
                      $tempvalue = $row;
  
                      /*
                      if($this->isItemConverterExist())
                      {
                          $this->getItemConverter()->deserializeAll($tempvalue, $tempkey);
                      }
                      */
  
                      if($tempvalue!==null && $tempkey!==null)
                      {
                          $collection->set($tempkey, $tempvalue);//, true);
                      }
                  }
                  $i++;
              }
          }
      }
code: public function importInto(ArrayBase $collection)
      {
          if($this->iterator instanceof \Iterator)
          {
              $i = 0;
              foreach($this->iterator as $key => $row)
              {
                  if($this->iteratorendindex>=0 && $i>$this->iteratorendindex)
                  {
                      break;
                  }
                  elseif($i>=$this->iteratorstartindex)
                  {
                      $tempkey = $key;
                      $tempvalue = $row;
  
                      /*
                      if($this->isItemConverterExist())
                      {
                          $this->getItemConverter()->deserializeAll($tempvalue, $tempkey);
                      }
                      */
  
                      if($tempvalue!==null && $tempkey!==null)
                      {
                          $collection->set($tempkey, $tempvalue);//, true);
                      }
                  }
                  $i++;
              }
          }
      }
code_tokens: public function importInto ( ArrayBase $ collection ) { if ( $ this -> iterator instanceof \ Iterator ) { $ i = 0 ; foreach ( $ this -> iterator as $ key => $ row ) { if ( $ this -> iteratorendindex >= 0 && $ i > $ this -> iteratorendindex ) { break ; } elseif ( $ i >= $ this -> iteratorstartindex ) { $ tempkey = $ key ; $ tempvalue = $ row ; /*
                      if($this->isItemConverterExist())
                      {
                          $this->getItemConverter()->deserializeAll($tempvalue, $tempkey);
                      }
                      */ if ( $ tempvalue !== null && $ tempkey !== null ) { $ collection -> set ( $ tempkey , $ tempvalue ) ; //, true); } } $ i ++ ; } } }
docstring: Import into ArrayBase
  @param ArrayBase $collection
docstring_tokens: Import into ArrayBase