mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 14:50:53 +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;
|
|
}
|
|
} |