static void mergeUpdate ( HashMappedList rowSet , Row row , Object [ ] newData , int [ ] cols ) { Object [ ] data = ( Object [ ] ) rowSet . get ( row ) ; if ( data != null ) { for ( int j = 0 ; j < cols . length ; j ++ ) { data [ cols [ j ] ] = newData [ cols [ j ] ] ; } } else { rowSet . add ( row , newData ) ; } }
Merges a triggered change with a previous triggered change or adds to list .