static String unnull(String s) { return s == null ? "" : s; } static L unnull(L l) { ret l == null ? emptyList() : l; } static Map unnull(Map l) { ret l == null ? emptyMap() : l; } static Iterable unnull(Iterable i) { ret i == null ? emptyList() : i; } static A[] unnull(A[] a) { ret a == null ? (A[]) new O[0] : a; } static BitSet unnull(BitSet b) { ret b == null ? new BitSet() : b; } ifclass Pt static Pt unnull(Pt p) { ret p == null ? new Pt : p; } endif