removed Long.compare(long, long) to remove Java SE 1.7 requirement