Uses of Interface
java.util.function.BiPredicate
Package
Description
HTTP Client and WebSocket APIs
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
Utility classes commonly useful in concurrent programming.
Functional interfaces provide target types for lambda expressions
and method references.
-
Uses of BiPredicate in java.net.http
Modifier and TypeMethodDescriptionstatic HttpRequest.Builder
HttpRequest.newBuilder
(HttpRequest request, BiPredicate<String, String> filter) Creates aBuilder
whose initial state is copied from an existingHttpRequest
.static HttpHeaders
Returns an HTTP headers from the given map. -
Uses of BiPredicate in java.nio.file
Modifier and TypeMethodDescriptionFiles.find
(Path start, int maxDepth, BiPredicate<Path, BasicFileAttributes> matcher, FileVisitOption... options) Returns 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
Modifier and TypeMethodDescriptionint
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
Modifier and TypeMethodDescriptiondefault 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 TypeMethodDescriptiondefault 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.