mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-22 04:43:02 +07:00
13 lines
205 B
Plaintext
13 lines
205 B
Plaintext
import java.util.function.Consumer;
|
|
|
|
class Source {
|
|
}
|
|
|
|
class Destination {
|
|
public void doSomething(String s) {
|
|
}
|
|
|
|
public void foo() {
|
|
Consumer<String> doSomething = this::doSomething;
|
|
}
|
|
} |