void (Collection<? extends T> items) { clear(); myItems.addAll(items); if (myComparator != null) myItems.sort(myComparator); int newSize = getSize(); if (newSize > 0) fireIntervalAdded(this, 0, newSize - 1); }