Hi,

I accidently bumped into an old friend today
https://docs.oracle.com/javase/8/docs/technotes/guides/collections/designfaq.html
There are couple of questions that might need an update after Java 8. Such
as

Why don't you provide an "apply" method in Collection to apply a given
method ("upcall") to all the elements of the Collection?
Why didn't you provide a "Predicate" interface, and related methods (e.g.,
a method to find the first element in the Collection satisfying the
predicate)?

Best
  Kasper

Reply via email to