Class StrictConfigurationComparator

java.lang.Object
org.apache.commons.configuration2.StrictConfigurationComparator
All Implemented Interfaces:
ConfigurationComparator

Strict comparator for configurations.
Since:
1.0
  • Constructor Details

  • Method Details

    • 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