public INode getNode ( IAtom atom ) { for ( Map . Entry < INode , IAtom > v : nodeBondMap . entrySet ( ) ) { if ( v . getValue ( ) . equals ( atom ) ) { return v . getKey ( ) ; } } return null ; }
Return a node for a given atom else return null