Integer.compare is available starting from JDK 7, replaced with Ints.compare from google guava