static S nullIfEmpty(S s) { ret isEmpty(s) ? null : s; } static Map nullIfEmpty(Map map) { ret isEmpty(map) ? null : map; } static L nullIfEmpty(L l) { ret isEmpty(l) ? null : l; }