java.lang.Object
net.i2p.router.JobQueue.JobComparator
- All Implemented Interfaces:
Serializable, Comparator<Job>
- Enclosing class:
JobQueue
Orders the jobs by their next run time.
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateOrders jobs by scheduled start time, then by job ID.Method Summary
Methods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
equals, max, min, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Constructor Details
JobComparator
private JobComparator()Orders jobs by scheduled start time, then by job ID.
Method Details
compare
- Specified by:
comparein interfaceComparator<Job>