Код: Выделить всё
private static class Container {
private List aList;
private T aValue;
private Container(List aList, T aValue) {
this.aList = aList;
this.aValue = aValue;
}
}
Код: Выделить всё
List
Подробнее здесь: [url]https://stackoverflow.com/questions/70861669/java-generics-compilation-failure-when-using-stream-toarray[/url]
Мобильная версия