mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
9 lines
209 B
Java
9 lines
209 B
Java
// "Wrap lambda return using 'String.valueOf()'" "true-preview"
|
|
import java.util.stream.*;
|
|
|
|
class Demo {
|
|
void test() {
|
|
Stream<String> stream = Stream.generate(() -> String.valueOf(Math.random()));
|
|
}
|
|
}
|