code: @Override
      public void setAtoms(IAtom[] newAtoms) {
          ensureAtomCapacity(newAtoms.length);
          System.arraycopy(newAtoms, 0, this.atoms, 0, newAtoms.length);
          if (newAtoms.length < this.atoms.length)
              Arrays.fill(atoms, newAtoms.length, this.atoms.length, null);
          this.atomCount = newAtoms.length;
      }
docs: {@inheritDoc}