mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 18:50:54 +07:00
10 lines
135 B
Java
10 lines
135 B
Java
@FunctionalInterface
|
|
interface I<T> {
|
|
T foo(T t);
|
|
}
|
|
|
|
class Foo {
|
|
void test() {
|
|
I<String> l = String::toLowerCase;
|
|
}
|
|
} |