Package org.openscience.cdk.tools.diff
Class ChemObjectDiff
java.lang.Object
org.openscience.cdk.tools.diff.ChemObjectDiff
Compares two
IChemObject classes.- Author:
- egonw
- Source code:
- main
- Belongs to CDK module:
- diff
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringdiff(IChemObject first, IChemObject second) Compare twoIChemObjectclasses and return the difference as aString.static IDifferencedifference(IChemObject first, IChemObject second) Compare twoIChemObjectclasses and return the difference as anIDifference.
-
Method Details
-
diff
Compare twoIChemObjectclasses 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
Stringrepresentation of the difference between the first and secondIChemObject.
-
difference
Compare twoIChemObjectclasses 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
IDifferencerepresentation of the difference between the first and secondIChemObject.
-