void copy(List<?> src, List<?> dest, Filter filter) { for (int i = 0; i < src.size(); i++) if (filter.accept(src.get(i))) dest.add(src.get(i)); } This method’s parameter…
Tag:
void copy(List<?> src, List<?> dest, Filter filter) { for (int i = 0; i < src.size(); i++) if (filter.accept(src.get(i))) dest.add(src.get(i)); } This method’s parameter…