code: @Override
      public List<IElectronContainer> getConnectedElectronContainersList(
          IAtom atom) {
          List<IElectronContainer> ecs = new ArrayList<>(4);
          for (int i = 0; i < bondCount; i++) {
              if (bonds[i].contains(atom)) ecs.add(bonds[i]);
          }
          for (int i = 0; i < lonePairCount; i++) {
              if (lonePairs[i].contains(atom)) ecs.add(lonePairs[i]);
          }
          for (int i = 0; i < singleElectronCount; i++) {
              if (singleElectrons[i].contains(atom)) ecs.add(singleElectrons[i]);
          }
          if (ecs.isEmpty() && !contains(atom))
              throw new NoSuchElementException("Atom does not belong to the container!");
          return ecs;
      }
docs: {@inheritDoc}