*** 108,117 **** --- 108,124 ---- */ public void remove(XAtom atom) { atoms.remove(atom); } + /** + * Removes all atoms from the list. + */ + public void clear() { + atoms.clear(); + } + /** * Returns size of the list */ public int size() {