Class ChemObjectDiff

java.lang.Object
org.openscience.cdk.tools.diff.ChemObjectDiff

public class ChemObjectDiff extends Object
Compares two IChemObject classes.
Author:
egonw
Source code:
main
Belongs to CDK module:
diff
  • Method Details

    • diff

      public static String diff(IChemObject first, IChemObject second)
      Compare two IChemObject classes and return the difference as a String.
      Parameters:
      first - the first of the two classes to compare
      second - the second of the two classes to compare
      Returns:
      a String representation of the difference between the first and second IChemObject.
    • difference

      public static IDifference difference(IChemObject first, IChemObject second)
      Compare two IChemObject classes and return the difference as an IDifference.
      Parameters:
      first - the first of the two classes to compare
      second - the second of the two classes to compare
      Returns:
      an IDifference representation of the difference between the first and second IChemObject.