Match each lambda expression with a method that can accept this lambda expression.
Standard functional interfaces
Matching lambda expressions
Report a typo
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)
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.