public static int compare(final long lhs, final long rhs) {
        return Long.compare(lhs, rhs);
    }
copy of Long#compare to avoid boxing
main/src/main/java/cgeo/geocaching/sorting/VisitComparator.java