Java 7 only :(
http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html#compare(int, int)

Guava has `Ints.compare()` though:
http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/primitives/Ints.html#compare(int, int)