question: @ Override protected Instance process ( Instance instance ) throws Exception { Instance result ; Attribute att ; double [ ] values ; int i ; values = new double [ instance . numAttributes ( ) ] ; for ( i = 0 ; i < instance . numAttributes ( ) ; i ++ ) { att = instance . attribute ( i ) ; if ( ! att . isNominal ( ) || ! m_AttributeIndices . isInRange ( i ) || instance . isMissing ( i ) ) { values [ i ] = instance . value ( i ) ; } else { values [ i ] = m_NewOrder [ i ] [ ( int ) instance . value ( i ) ] ; } } result = new DenseInstance ( instance . weight ( ) , values ) ; return result ; }
target:  processes the given instance (may change the provided instance) and returns the modified version.