fun setEntries(entries: Collection<T>): Unit
Removes all current entries, and adds the given entries.
entries - the entries to add
entries