blob: f41e74aa8cab4047aff87fffd3db924563a08a75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import java.util.function.Consumer;
class While {
void m() {
t(Long.class, value -> {
int x = 1;
while (--x >= 0)
;
});
}
<T> void t(Class<T> clazz, Consumer<T> object) {
}
}
|