@Override
 protected void map(Centroid key, IntWritable value, Context context)
     throws IOException, InterruptedException {
   context.write(new Text(key.toString()), new Text(value.toString()));
 }
Exemple #2
0
 @Override
 public String toString() {
   return first.toString() + ":" + second.toString();
 }