Uses of Interface
java.util.function.BiPredicate
Packages that use 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
Methods in java.net.http with parameters of type BiPredicateModifier 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
Methods in java.nio.file with parameters of type BiPredicateModifier and TypeMethodDescriptionFiles.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 BiPredicateModifier 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
Methods in java.util.function that return BiPredicateModifier 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.Methods in java.util.function with parameters of type BiPredicateModifier 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.