public boolean compare ( Object object ) { if ( ! ( object instanceof IChemObject ) ) { return false ; } ChemObject chemObj = ( ChemObject ) object ; return Objects . equal ( identifier , chemObj . identifier ) ; }
Compares a IChemObject with this IChemObject .