| Package | Description |
|---|---|
| java.util.function |
Functional interfaces provide target types for lambda expressions and method references.
|
| java.util.stream |
Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.
|
| Modifier and Type | Method and Description |
|---|---|
default DoublePredicate |
DoublePredicate.and(DoublePredicate
Returns a composed predicate that represents a short-circuiting logical AND of this predicate and another.
|
default DoublePredicate |
DoublePredicate.negate()
Returns a predicate that represents the logical negation of this predicate.
|
default DoublePredicate |
DoublePredicate.or(DoublePredicate
Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.
|
| Modifier and Type | Method and Description |
|---|---|
default DoublePredicate |
DoublePredicate.and(DoublePredicate
Returns a composed predicate that represents a short-circuiting logical AND of this predicate and another.
|
default DoublePredicate |
DoublePredicate.or(DoublePredicate
Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DoubleStream.allMatch(DoublePredicate
Returns whether all elements of this stream match the provided predicate.
|
boolean |
DoubleStream.anyMatch(DoublePredicate
Returns whether any elements of this stream match the provided predicate.
|
DoubleStream |
DoubleStream.filter(DoublePredicate
Returns a stream consisting of the elements of this stream that match the given predicate.
|
boolean |
DoubleStream.noneMatch(DoublePredicate
Returns whether no elements of this stream match the provided predicate.
|