@ Override public int getConnectedLonePairsCount ( IAtom atom ) { int count = 0 ; for ( int i = 0 ; i < lonePairCount ; i ++ ) { if ( lonePairs [ i ] . contains ( atom ) ) ++ count ; } return count ; }
Returns the number of LonePairs for a given Atom .