question: private Object [ ] asRow ( Map < String , ? > rowMap , Object defaultValue , boolean returnRowId ) { int len = _columns . size ( ) ; if ( returnRowId ) { ++ len ; } Object [ ] row = new Object [ len ] ; if ( defaultValue != null ) { Arrays . fill ( row , defaultValue ) ; } if ( returnRowId ) { row [ len - 1 ] = ColumnImpl . RETURN_ROW_ID ; } if ( rowMap == null ) { return row ; } for ( ColumnImpl col : _columns ) { if ( rowMap . containsKey ( col . getName ( ) ) ) { col . setRowValue ( row , col . getRowValue ( rowMap ) ) ; } } return row ; }
target:  Converts a map of columnName -> columnValue to an array of row values.