question: public void writeMapping ( Writer w ) throws IOException { w . write ( "# Mapping file, generated " + ( new Date ( ) ) + "\n" ) ; for ( Integer key : id2name . keySet ( ) ) { w . write ( key + "\t" + id2name . get ( key ) + "\n" ) ; } }
target:  write the new mapping