static <A> ArrayList<A> asList_nullIfEmpty(Iterable<A> s) { ArrayList<A> l = asList(s); ret empty(l) ? null : l; }