code: @Override
      public void removeAllElectronContainers() {
          removeAllBonds();
          for (int f = 0; f < getLonePairCount(); f++) {
              getLonePair(f).removeListener(this);
          }
          for (int f = 0; f < getSingleElectronCount(); f++) {
              getSingleElectron(f).removeListener(this);
          }
          lonePairs = new ILonePair[growArraySize];
          singleElectrons = new ISingleElectron[growArraySize];
          lonePairCount = 0;
          singleElectronCount = 0;
          notifyChanged();
      }
docs: {@inheritDoc}