Package org.openscience.cdk.tools.diff
Class ChemObjectDiff
- java.lang.Object
-
- org.openscience.cdk.tools.diff.ChemObjectDiff
-
public class ChemObjectDiff extends Object
Compares twoIChemObject
classes.- Author:
- egonw
- Source code:
- main
- Belongs to CDK module:
- diff
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
diff(IChemObject first, IChemObject second)
Compare twoIChemObject
classes and return the difference as aString
.static IDifference
difference(IChemObject first, IChemObject second)
Compare twoIChemObject
classes and return the difference as anIDifference
.
-
-
-
Method Detail
-
diff
public static String diff(IChemObject first, IChemObject second)
Compare twoIChemObject
classes and return the difference as aString
.- Parameters:
first
- the first of the two classes to comparesecond
- the second of the two classes to compare- Returns:
- a
String
representation of the difference between the first and secondIChemObject
.
-
difference
public static IDifference difference(IChemObject first, IChemObject second)
Compare twoIChemObject
classes and return the difference as anIDifference
.- Parameters:
first
- the first of the two classes to comparesecond
- the second of the two classes to compare- Returns:
- an
IDifference
representation of the difference between the first and secondIChemObject
.
-
-