static Collection copyList(Collection extends A> a, Collection b) { if (a != null && b != null) { b.clear(); b.addAll(a); } ret a; }