Package | Description |
---|---|
java.nio.file |
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
|
java.util.function |
Functional interfaces provide target types for lambda expressions
and method references.
|
Modifier and Type | Method and Description |
---|---|
static Stream<Path> |
Files.find(Path start,
int maxDepth,
BiPredicate<Path,BasicFileAttributes> matcher,
FileVisitOption... options)
Return a
Stream that is lazily populated with Path by searching for files in a file tree rooted at a given starting
file. |
Modifier and Type | Method and Description |
---|---|
default BiPredicate<T,U> |
BiPredicate.and(BiPredicate<? super T,? super U> other)
Returns a composed predicate that represents a short-circuiting logical
AND of this predicate and another.
|
default BiPredicate<T,U> |
BiPredicate.negate()
Returns a predicate that represents the logical negation of this
predicate.
|
default BiPredicate<T,U> |
BiPredicate.or(BiPredicate<? super T,? super U> other)
Returns a composed predicate that represents a short-circuiting logical
OR of this predicate and another.
|
Modifier and Type | Method and Description |
---|---|
default BiPredicate<T,U> |
BiPredicate.and(BiPredicate<? super T,? super U> other)
Returns a composed predicate that represents a short-circuiting logical
AND of this predicate and another.
|
default BiPredicate<T,U> |
BiPredicate.or(BiPredicate<? super T,? super U> other)
Returns a composed predicate that represents a short-circuiting logical
OR of this predicate and another.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.