Uses of Interface
java.util.function.DoublePredicate
Package
Description
Functional interfaces provide target types for lambda expressions
and method references.
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
-
Uses of DoublePredicate in java.util.function
Modifier and TypeMethodDescriptiondefault DoublePredicate
DoublePredicate.and
(DoublePredicate other) 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 other) Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.Modifier and TypeMethodDescriptiondefault DoublePredicate
DoublePredicate.and
(DoublePredicate other) Returns a composed predicate that represents a short-circuiting logical AND of this predicate and another.default DoublePredicate
DoublePredicate.or
(DoublePredicate other) Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another. -
Uses of DoublePredicate in java.util.stream
Modifier and TypeMethodDescriptionboolean
DoubleStream.allMatch
(DoublePredicate predicate) Returns whether all elements of this stream match the provided predicate.boolean
DoubleStream.anyMatch
(DoublePredicate predicate) Returns whether any elements of this stream match the provided predicate.default DoubleStream
DoubleStream.dropWhile
(DoublePredicate predicate) Returns, if this stream is ordered, a stream consisting of the remaining elements of this stream after dropping the longest prefix of elements that match the given predicate.DoubleStream.filter
(DoublePredicate predicate) Returns a stream consisting of the elements of this stream that match the given predicate.static DoubleStream
DoubleStream.iterate
(double seed, DoublePredicate hasNext, DoubleUnaryOperator next) Returns a sequential orderedDoubleStream
produced by iterative application of the givennext
function to an initial element, conditioned on satisfying the givenhasNext
predicate.boolean
DoubleStream.noneMatch
(DoublePredicate predicate) Returns whether no elements of this stream match the provided predicate.default DoubleStream
DoubleStream.takeWhile
(DoublePredicate predicate) Returns, if this stream is ordered, a stream consisting of the longest prefix of elements taken from this stream that match the given predicate.