Early review on NIO Stream APIs
zhong.j.yu at gmail.com
Fri Feb 8 02:53:04 UTC 2013
The find() method uses a
BiPredicate<Path, BasicFileAttributes> matcher
what about using the existing java.nio.file.PathMatcher interface?
There are already some implementations of PathMatcher both in JDK and
in the wild.
PathMatcher doesn't accept the file attributes though, but that's a
problem for most Path-based APIs - path alone often isn't enough and
app has to look up attributes in a separate step.
On Thu, Feb 7, 2013 at 6:15 PM, Henry Jen <henry.jen at oracle.com> wrote:
> While lambda still finalizing the final API for Stream, there are a
> couple of streamifaction APIs in nio area, which I would like to start
> circling around to get early feedbacks.
> Those APIs return a CloseableStream, other than that, there is not much
> directly connection to Stream definition.
> The specdiff and webrev is available at
> Please include me in the reply as I don't necessary receiving emails
> from all aliases.
More information about the core-libs-dev