Package org.jboss.jca.deployers.fungal
Class RAActivatorComparator
java.lang.Object
org.jboss.jca.deployers.fungal.RAActivatorComparator
- All Implemented Interfaces:
Serializable,Comparator<String>
The comparator for the RA activator
- Author:
- Jesper Pedersen
- See Also:
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Method Details
-
compare
Compare- Specified by:
comparein interfaceComparator<String>- Parameters:
o1- The first objecto2- The second object- Returns:
-1if o1 should be invoked first,1if o2 should be invoked first, otherwise0
-
hashCode
public int hashCode()Hash code -
equals
Equals- Specified by:
equalsin interfaceComparator<String>- Overrides:
equalsin classObject- Parameters:
o- The object- Returns:
- True if equal; otherwise false
-