java.lang.Object
net.i2p.router.networkdb.kademlia.ExpireLeasesJob.LeaseSetComparator
- All Implemented Interfaces:
Serializable, Comparator<LeaseSet>
- Enclosing class:
ExpireLeasesJob
private static class ExpireLeasesJob.LeaseSetComparatorextends Object implements Comparator<LeaseSet>, Serializable
Oldest first.
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateOrders lease sets by latest lease date, oldest first.Method Summary
All MethodsMethods 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
LeaseSetComparator
private LeaseSetComparator()Orders lease sets by latest lease date, oldest first.
Method Details
compare
Compare lease sets by latest lease date, oldest first.- Specified by:
comparein interfaceComparator<LeaseSet>