Class IntegerComparator

    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        The serial version UID
        See Also:
        Constant Field Values
      • LOG

        private static final org.slf4j.Logger LOG
        A logger for this class
    • Constructor Detail

      • IntegerComparator

        public IntegerComparator​(String oid)
        The IntegerComparator constructor. Its OID is the IntegerOrderingMatch matching rule OID.
        Parameters:
        oid - The Comparator's OID
    • Method Detail

      • compare

        private int compare​(String backendValue,
                            String assertValue)
        Implementation of the Compare method
        Parameters:
        backendValue - The stored value
        assertValue - The provided value
        Returns:
        0 if the values are equal, -1 if the provided value is below the stored value, +1 otherwise