com.atlassian.confluence.security.trust
Class KeyPairComparator

java.lang.Object
  extended by com.atlassian.confluence.security.trust.KeyPairComparator
All Implemented Interfaces:
java.util.Comparator

public class KeyPairComparator
extends java.lang.Object
implements java.util.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
KeyPairComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

KeyPairComparator

public KeyPairComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator


Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.