static bool allEndWith(L l, S s) { for (S x : l) if (!x.endsWith(s)) false; true; }