Package org.apache.harmony.security.x501
Class AttributeTypeAndValueComparator
java.lang.Object
org.apache.harmony.security.x501.AttributeTypeAndValueComparator
- All Implemented Interfaces:
Serializable,Comparator
public class AttributeTypeAndValueComparator extends Object implements Comparator, Serializable
AttributeTypeAndValue comparator
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description AttributeTypeAndValueComparator() -
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
-
Constructor Details
-
AttributeTypeAndValueComparator
public AttributeTypeAndValueComparator()
-
-
Method Details
-
compare
compares two AttributeTypeAndValues- Specified by:
comparein interfaceComparator- Parameters:
obj1- first AttributeTypeAndValueobj2- second AttributeTypeAndValue- Returns:
- -1 of first AttributeTypeAndValue "less" than second AttributeTypeAndValue 1 otherwise, 0 if they are equal
-