static { // register this comparator
   WritableComparator.define(NullWritable.class, new Comparator());
 }
Exemple #2
0
 static { // register default comparator
   WritableComparator.define(Frob.class, new FrobComparator());
 }