private IAtom findHydrogen ( final IAtom [ ] atoms ) { for ( final IAtom a : atoms ) { if ( Integer . valueOf ( 1 ) . equals ( a . getAtomicNumber ( ) ) ) return a ; } return null ; }
Given an array of atoms find the first hydrogen atom .