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.
|
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 |
---|---|
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 its
onNext 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 its
onNext method. |
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, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait