Oxford Common File Layout (OCFL) 1.1 Released
ocfl.io2 pointsby sitta0 comments
public <R> List<R> map(Function<? super E, ? extends R> mapper) {
return stream().map(mapper).toList();
}
Yes, having them would make Java less verbose in the case where you only want to do a single map, filter, whatever operation on a collection, but I'm personally glad that they weren't because they produce extremely inefficient behavior when chained. So, it would add a performance footgun to save ~18 characters.
Will the new metric be exposed in JFR recordings as well?