@Override
protected TupleComparator<Tuple3<Integer, Long, Double>> createComparator(boolean ascending) {
return new TupleComparator<Tuple3<Integer, Long, Double>>(
new int[]{0, 1, 2},
new TypeComparator[]{
new IntComparator(ascending),
new LongComparator(ascending),
new DoubleComparator(ascending)
},
new TypeSerializer[]{ IntSerializer.INSTANCE, LongSerializer.INSTANCE, DoubleSerializer.INSTANCE });
}