mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
12 lines
218 B
Java
12 lines
218 B
Java
class Test {
|
|
interface Task {
|
|
void doit();
|
|
}
|
|
|
|
class SuperClient {
|
|
public static void main(String[] args) {
|
|
Task t = () -> System.out.println("hello");
|
|
Runnable r = <caret>t::doit;
|
|
}
|
|
}
|
|
} |