private IBond findBond ( IAtom beg1 , IAtom beg2 , IAtom end ) { IBond bond = container . getBond ( beg1 , end ) ; if ( bond != null ) return bond ; return container . getBond ( beg2 , end ) ; }
Find a bond between two possible atoms . For example beg1 - end or beg2 - end .