mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
16 lines
244 B
Java
16 lines
244 B
Java
import java.util.function.Supplier;
|
|
class Test {
|
|
|
|
private void a()
|
|
{
|
|
b((s) -> {
|
|
System.out.println(newMethod((Object) s));
|
|
});
|
|
}
|
|
|
|
private boolean newMethod(Object s) {
|
|
return s;
|
|
}
|
|
|
|
void b(Supplier s) {}
|
|
} |