static void addFirstUnlessThere(L c, A a) { if (c != null && neq(first(c), a)) c.add(0, a); }