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