14 lines
345 B
Plaintext
14 lines
345 B
Plaintext
|
import java.util.List;
|
||
|
import java.util.ArrayList;
|
||
|
import java.lang.Integer;
|
||
|
import java.util.stream.Collectors;
|
||
|
import java.util.stream.Stream;
|
||
|
import java.util.function.Function;
|
||
|
|
||
|
public class Bug309 {
|
||
|
public main() {
|
||
|
List<Integer> list = new ArrayList<>(List.of(1,2,3,4,5,6,7,8,9));
|
||
|
list.stream().map(x -> x * 2);
|
||
|
}
|
||
|
}
|