Lines Matching defs:maxDepth
43 * int maxDepth = ...
45 * try (FileTreeWalker walker = new FileTreeWalker(options, maxDepth)) {
60 private final int maxDepth;
169 * if {@code maxDepth} is negative
177 FileTreeWalker(Collection<FileVisitOption> options, int maxDepth) {
187 if (maxDepth < 0)
188 throw new IllegalArgumentException("'maxDepth' is negative");
193 this.maxDepth = maxDepth;
287 if (depth >= maxDepth || !attrs.isDirectory()) {