mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
14 lines
205 B
Java
14 lines
205 B
Java
import java.util.function.Consumer;
|
|
|
|
public class Subst {
|
|
void test1() {
|
|
test2(Subst::bar);
|
|
}
|
|
|
|
private static void bar(Object o) {
|
|
|
|
}
|
|
|
|
void test2(final Consumer<Object> consu<caret>mer) {}
|
|
}
|