java.lang.Object
net.i2p.client.impl.RequestLeaseSetMessageHandler.LeaseInfo.PrivKeyComparator
- All Implemented Interfaces:
Serializable, Comparator<PrivateKey>
- Enclosing class:
RequestLeaseSetMessageHandler.LeaseInfo
private static class RequestLeaseSetMessageHandler.LeaseInfo.PrivKeyComparatorextends Object implements Comparator<PrivateKey>, Serializable
Reverse order by enc type.
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longSerial version of the serialized form.Constructor Summary
ConstructorsMethod 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
Field Details
serialVersionUID
private static final long serialVersionUIDSerial version of the serialized form.- See Also:
Constructor Details
PrivKeyComparator
private PrivKeyComparator()Orders private keys by their destination.
Method Details
compare
Compare two objects.- Specified by:
comparein interfaceComparator<PrivateKey>