private static boolean hasCommonAtom ( IBond bondA , IBond bondB ) { return bondA . contains ( bondB . getBegin ( ) ) || bondA . contains ( bondB . getEnd ( ) ) ; }
Determines if two bonds have at least one atom in common .