Class StrictConfigurationComparator

    • Constructor Detail

      • StrictConfigurationComparator

        public StrictConfigurationComparator()
        Create a new strict comparator.
    • Method Detail

      • compare

        public boolean compare​(Configuration a,
                               Configuration b)
        Compare two configuration objects.
        Specified by:
        compare in interface ConfigurationComparator
        Parameters:
        a - the first configuration
        b - the second configuration
        Returns:
        true if keys from a are found in b and keys from b are found in a and for each key in a, the corresponding value is the sale in for the same key in b