mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
22 lines
656 B
Java
22 lines
656 B
Java
import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Set;
|
|
import java.util.function.Function;
|
|
|
|
class CastLambdaParameter {
|
|
|
|
void main(final Map<Integer, String> map) {
|
|
Set<Function<Object, String>> property2formatter = foo(bar((joint) -> map.get((Integer)joint)));
|
|
}
|
|
|
|
public static <B> Set<B> foo(List<B> property2name) {return property2name != null ? null : null;}
|
|
public static <B> Set<B> foo(List<B>... property2name) {return property2name != null ? null : null;}
|
|
public static <B> Set<B> foo(Set<B> property2name) {return property2name != null ? null : null;}
|
|
|
|
public static <TB> List<TB> bar(TB b) {
|
|
return null;
|
|
}
|
|
|
|
}
|
|
|