public void write(PrintWriter writer){
  for (int i=0; i < count; i++) {
    writer.println(keys[i] + "\t" + values[i]);
  }
  writer.flush();
}

public void write ( PrintWriter writer ) { for ( int i = 0 ; i < count ; i ++ ) { writer . println ( keys [ i ] + "\t" + values [ i ] ) ; } writer . flush ( ) ; }
write tab - delimited entries out to
