public void addEntries(Collection values) { Iterator it = values.iterator(); while (it.hasNext()) addEntry((Entry) it.next()); }