code: @Override
      public List<ILonePair> getConnectedLonePairsList(IAtom atom) {
          List<ILonePair> lps = new ArrayList<>(2);
          for (int i = 0; i < lonePairCount; i++) {
              if (lonePairs[i].contains(atom))
                  lps.add(lonePairs[i]);
          }
          if (lps.isEmpty() && !contains(atom))
              throw new NoSuchAtomException("Atom does not belong to the container!");
          return lps;
      }
docs: {@inheritDoc}