private int otherIndex ( int i ) { IDoubleBondStereochemistry element = ( IDoubleBondStereochemistry ) queryElements [ i ] ; return queryMap . get ( element . getStereoBond ( ) . getOther ( query . getAtom ( i ) ) ) ; }
Given an index of an atom in the query get the index of the other atom in the double bond .