mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 10:20:56 +07:00
42 lines
483 B
Java
42 lines
483 B
Java
import java.util.function.IntSupplier;
|
|
import java.util.Collections;
|
|
|
|
class Foo {
|
|
|
|
void m() {
|
|
|
|
Runnable r = Collections::emptyList;
|
|
|
|
Runnable r2 = () -> {
|
|
|
|
|
|
IntSupplier s = () -> 1;
|
|
|
|
Runnable r3 = () -> {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
IntSupplier s2 = () -> 1;
|
|
}
|
|
|
|
void m2() {
|
|
|
|
Runnable r = () -> {
|
|
|
|
Runnable r3 = () -> {
|
|
|
|
IntSupplier s2 = () -> 1;
|
|
|
|
Runnable r4 = () -> {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
IntSupplier s = () -> 1;
|
|
|
|
};
|
|
}
|
|
} |