static void insertFirst(L l, A a) { if (l != null) l.add(0, a); }