mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
12 lines
245 B
Java
12 lines
245 B
Java
import java.util.List;
|
|
import java.util.stream.Stream;
|
|
|
|
import static java.util.stream.Collectors.toList;
|
|
|
|
class TypeDetectionTest {
|
|
|
|
public static void main(String[] args) {
|
|
List<Number> numbers = Stream.of(1, 2).collect(toList());
|
|
}
|
|
|
|
} |