mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 11:36:16 +07:00
12 lines
322 B
Java
12 lines
322 B
Java
// "Replace IntStream.range().mapToLong() 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<Integer> list) {
|
|
long[] arr = list.stream().mapToLong(integer -> integer).toArray();
|
|
}
|
|
}
|