question: private void fillExampleTable ( DataSet dataSet , ProgressListener listener , int [ ] attributeColumns , MemoryExampleTable exampleTable ) throws DataSetException , ProcessStoppedException , ParseException { Attribute [ ] attributes = exampleTable . getAttributes ( ) ; dataSet . reset ( ) ; int numberOfRows = dataSet . getNumberOfRows ( ) ; DataRowFactory factory = new DataRowFactory ( dataManagementType , DataRowFactory . POINT_AS_DECIMAL_CHARACTER ) ; boolean isRunningInProcess = isOperatorRunning ( ) ; while ( dataSet . hasNext ( ) ) { if ( isRunningInProcess ) { operator . checkForStop ( ) ; } if ( shouldStop ) { throw new ProcessStoppedException ( ) ; } DataSetRow currentRow = dataSet . nextRow ( ) ; if ( listener != null ) { updateProcess ( listener , dataSet . getCurrentRowIndex ( ) , numberOfRows ) ; } DataRow row = factory . create ( attributes . length ) ; exampleTable . addDataRow ( row ) ; int attributeIndex = 0 ; for ( Attribute attribute : attributes ) { if ( currentRow . isMissing ( attributeColumns [ attributeIndex ] ) ) { row . set ( attribute , Double . NaN ) ; } else { switch ( attribute . getValueType ( ) ) { case Ontology . INTEGER : case Ontology . NUMERICAL : case Ontology . REAL : row . set ( attribute , getNumber ( currentRow , attributeColumns [ attributeIndex ] ) ) ; break ; case Ontology . DATE_TIME : case Ontology . TIME : case Ontology . DATE : row . set ( attribute , getDate ( currentRow , attributeColumns [ attributeIndex ] ) ) ; break ; default : row . set ( attribute , getStringIndex ( attribute , currentRow , attributeColumns [ attributeIndex ] ) ) ; } } attributeIndex ++ ; } } }
target:  Fills the exampleTable with the data from the dataSet.