blob: 1249a6a9348fd88ac8e82efa11f6482d89c77e93 [file] [log] [blame]
import java.util.ArrayList;
import java.util.List;
public class WildcardIterable {
private static <T> List<T> catListAndIterable(
final List<T> list, final Iterable<? extends T> iterable) {
final List<T> newList = new ArrayList<>();
for (T listObject : list) {
newList.add(listObject);
}
for (T iterObject : iterable) {
newList.add(iterObject);
}
return newList;
}
}