mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 11:36:16 +07:00
12 lines
310 B
Java
12 lines
310 B
Java
// "Replace IntStream.range().mapToObj() with list.stream()" "true"
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import java.util.stream.IntStream;
|
|
|
|
public class Test extends ArrayList<String> {
|
|
public void test(List<List<String>> list) {
|
|
List<?>[] arr = list.stream().toArray(List[]::new);
|
|
}
|
|
}
|