Matching lambda expressions

Report a typo

Match each lambda expression with a method that can accept this lambda expression.

Match the items from left and right columns
(x) -> { return x + 10; }
(x, y) -> (x > y) && (x % 2 == 0)
() -> Long.valueOf(10_000L).toString()
(x, y) -> { }
(x) -> x.subList(0, x.size())
method(Supplier<String> s)
method(BiPredicate<Integer, Double> p)
method(UnaryOperator<List<String>> o)
method(DoubleFunction<Double> f)
method(BiConsumer<Integer, String> c)
___

Create a free account to access the full topic