static L emptyList() { ret new ArrayList; //ret Collections.emptyList(); } static L emptyList(int capacity) { ret new ArrayList(capacity); } // Try to match capacity static L emptyList(Iterable l) { ret l instanceof Collection ? emptyList((Collection) l).size()) : emptyList(); }