static A addAndReturnIfNew(Collection c, A a) { ret c != null && c.add(a) ? a : null; }