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 Details

    • AttributeTypeAndValueComparator

      public AttributeTypeAndValueComparator()
  • Method Details

    • compare

      public int compare​(Object obj1, Object obj2)
      compares two AttributeTypeAndValues
      Specified by:
      compare in interface Comparator
      Parameters:
      obj1 - first AttributeTypeAndValue
      obj2 - second AttributeTypeAndValue
      Returns:
      -1 of first AttributeTypeAndValue "less" than second AttributeTypeAndValue 1 otherwise, 0 if they are equal