Uses of Interface
java.util.function.BiPredicate
-
Packages that use BiPredicate Package Description java.nio.file Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.java.util.concurrent Utility classes commonly useful in concurrent programming.java.util.function Functional interfaces provide target types for lambda expressions and method references. -
-
Uses of BiPredicate in java.nio.file
Methods in java.nio.file with parameters of type BiPredicate Modifier and Type Method Description static Stream<Path>
Files. find(Path start, int maxDepth, BiPredicate<Path,BasicFileAttributes> matcher, FileVisitOption... options)
Return aStream
that is lazily populated withPath
by searching for files in a file tree rooted at a given starting file. -
Uses of BiPredicate in java.util.concurrent
Methods in java.util.concurrent with parameters of type BiPredicate Modifier and Type Method Description int
SubmissionPublisher. offer(T item, long timeout, TimeUnit unit, BiPredicate<Flow.Subscriber<? super T>,? super T> onDrop)
Publishes the given item, if possible, to each current subscriber by asynchronously invoking itsonNext
method, blocking while resources for any subscription are unavailable, up to the specified timeout or until the caller thread is interrupted, at which point the given handler (if non-null) is invoked, and if it returns true, retried once.int
SubmissionPublisher. offer(T item, BiPredicate<Flow.Subscriber<? super T>,? super T> onDrop)
Publishes the given item, if possible, to each current subscriber by asynchronously invoking itsonNext
method. -
Uses of BiPredicate in java.util.function
Methods in java.util.function that return BiPredicate Modifier and Type Method 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.Methods in java.util.function with parameters of type BiPredicate Modifier and Type Method 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.
-