code: @Override
      public void setAtoms(IAtom[] atoms) {
          this.atoms = atoms;
          for (IAtom atom : atoms) {
              atom.addListener(this);
          }
          this.atomCount = atoms.length;
          notifyChanged();
      }
docs: Sets the array of atoms of this AtomContainer.
  
  @param  atoms  The array of atoms to be assigned to this AtomContainer
  @see           #getAtom