Skip to content

Instantly share code, notes, and snippets.

@theqp
Created October 16, 2019 14:41
Show Gist options
  • Save theqp/63fe93a69eea858c50ab578c9fec4590 to your computer and use it in GitHub Desktop.
Save theqp/63fe93a69eea858c50ab578c9fec4590 to your computer and use it in GitHub Desktop.
package halp;
import java.util.function.BiConsumer;
import java.util.function.Consumer;
public class Halp {
public static void main(String[] args) {
Clazz c = null;
c.func(
() -> {},
(s, i) -> {
String string = s;
Integer integer = i;
},
s -> {
String string = s;
});
}
abstract static class Clazz<T, U> {
void func(
Runnable a,
BiConsumer<String, Integer> b,
Consumer<String> c) {}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment