Package org.jboss.jca.deployers.fungal
Class RAActivatorComparator
- java.lang.Object
-
- org.jboss.jca.deployers.fungal.RAActivatorComparator
-
- All Implemented Interfaces:
Serializable,Comparator<String>
public class RAActivatorComparator extends Object implements Comparator<String>, Serializable
The comparator for the RA activator- Author:
- Jesper Pedersen
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(String o1, String o2)Comparebooleanequals(Object o)EqualsinthashCode()Hash code-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(String o1, String o2)
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
-
-