@@ -0,0 +1,299 @@
+package org.psjava.javautil;%0A%0Aimport java.util.Comparator;%0A%0Apublic class ReversedComparator %7B%0A%09%0A%09public static %3CT%3E Comparator%3CT%3E wrap(final Comparator%3CT%3E original) %7B%0A%09%09return new Comparator%3CT%3E() %7B%0A%09%09%09@Override%0A%09%09%09public int compare(T o1, T o2) %7B%0A%09%09%09%09return original.compare(o2, o1);%0A%09%09%09%7D%0A%09%09%7D;%0A%09%7D%0A%0A%7D%0A

add util class