Breadth First FileVisitor?
I was looking over the NIO2 tutorial for walking a file tree at
Under the section "Considerations when Creating a FileVisitor" it mentions that a "file tree is walked depth first."
My question is, does or will JDK 7 provide an implementation for a breadth first file visitor behavior?
If not, maybe this functionality should be included. The value FileVisitOption.BREADTH_FIRST could be added to the existing FileVisitOption enum to override the depth first behavior in walking the tree.
Thoughts, pros, cons?