Iterator<Path> () { Iterator<Path> iterator = roots.iterator(); return new Iterator<Path>() { @Override public boolean hasNext() { return iterator.hasNext(); } @Override public Path next() { return CoreRoutingFileSystemProvider.path(CoreRoutingFileSystem.this, iterator.next()); } }; }