public class KeyPairComparator extends Object implements Comparator
KeyPair
s 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 and Description |
---|
KeyPairComparator() |
public int compare(Object o1, Object o2)
compare
in interface Comparator
Copyright © 2003–2015 Atlassian. All rights reserved.