mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 02:24:00 +07:00
GitOrigin-RevId: 7f72c5f68ab821e728eb0d5152f0910f48035046
13 lines
252 B
Java
13 lines
252 B
Java
// "Replace with lambda" "true-preview"
|
|
import java.util.function.Function;
|
|
|
|
class Test {
|
|
void ab() {
|
|
comparing((Function<Integer, String>) pObj -> Integer.toString(pObj));
|
|
|
|
}
|
|
|
|
static <T> void comparing(Function<T, String> keyExtractor){}
|
|
|
|
}
|