static void syncRemoveLast(L l) { if (l != null) synchronized(l) { removeLast(l); } }