svoid syncRemoveAllExceptLast(L l) { if (l == null) ret; synchronized(collectionMutex(l)) { removeSubList(l, 0, l(l)-1); } }