Class KeyPairComparator
java.lang.Object
com.atlassian.confluence.security.trust.KeyPairComparator
- All Implemented Interfaces:
Comparator
Compares
KeyPairs for equality based on the equals method of the public and private keys.
This is necessary as KeyPair does not define an equals method itself.
This comparator does not actually impose an order key pairs.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
KeyPairComparator
public KeyPairComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator
-