@Override public int compareTo(Delayed other) { final long d1 = getDelay(TimeUnit.MILLISECONDS); final long d2 = other.getDelay(TimeUnit.MILLISECONDS); return Long.compare(d1, d2); }
@Override public int compareTo(Delayed other) { final long d1 = getDelay(TimeUnit.MILLISECONDS); final long d2 = other.getDelay(TimeUnit.MILLISECONDS); return Long.compare(d1, d2); }