Class AttributeTypeAndValueComparator

    • Constructor Detail

      • AttributeTypeAndValueComparator

        public AttributeTypeAndValueComparator()
    • Method Detail

      • compare

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