You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code snippets in section called "Testing Two Elements with a BiPredicate" appears to be wrong and doesn't compile: Predicate<String, Integer> isOfLength = (word, length) -> word.length() == length;
The type of the isOfLength variable should be BiPredicate<String, Integer>
The text was updated successfully, but these errors were encountered:
https://dev.java/learn/lambdas/functional-interfaces/#predicate
Code snippets in section called "Testing Two Elements with a BiPredicate" appears to be wrong and doesn't compile:
Predicate<String, Integer> isOfLength = (word, length) -> word.length() == length;
The type of the isOfLength variable should be
BiPredicate<String, Integer>
The text was updated successfully, but these errors were encountered: