mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
15 lines
332 B
Java
15 lines
332 B
Java
import java.util.ArrayList;
|
|
import java.util.HashMap;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
class Demo {
|
|
public static void main(String[] args) {
|
|
Function<? super String, ? extends List<String>> mappingFunction = key -> new ArrayList<>();
|
|
}
|
|
|
|
interface Function<T, R> {
|
|
public R apply(T t);
|
|
}
|
|
}
|