| Package | Description |
|---|---|
| com.annimon.stream | |
| com.annimon.stream.function |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DoubleStream.allMatch(DoublePredicate predicate)
Tests whether all elements match the given predicate.
|
boolean |
DoubleStream.anyMatch(DoublePredicate predicate)
Tests whether all elements match the given predicate.
|
DoubleStream |
DoubleStream.dropWhile(DoublePredicate predicate)
Drops elements while the predicate is true and returns the rest.
|
OptionalDouble |
OptionalDouble.filter(DoublePredicate predicate)
Performs filtering on inner value if present.
|
DoubleStream |
DoubleStream.filter(DoublePredicate predicate)
Returns
DoubleStream with elements that satisfy the given predicate. |
DoubleStream |
DoubleStream.filterNot(DoublePredicate predicate)
Returns
DoubleStream with elements that does not satisfy the given predicate. |
static DoubleStream |
DoubleStream.iterate(double seed,
DoublePredicate predicate,
DoubleUnaryOperator op)
Creates an
DoubleStream by iterative application DoubleUnaryOperator function
to an initial element seed, conditioned on satisfying the supplied predicate. |
boolean |
DoubleStream.noneMatch(DoublePredicate predicate)
Tests whether no elements match the given predicate.
|
DoubleStream |
DoubleStream.takeWhile(DoublePredicate predicate)
Takes elements while the predicate is true.
|
| Modifier and Type | Method and Description |
|---|---|
static DoublePredicate |
DoublePredicate.Util.and(DoublePredicate p1,
DoublePredicate p2)
Applies logical AND to predicates.
|
static DoublePredicate |
DoublePredicate.Util.negate(DoublePredicate p1)
Applies logical negation to predicate.
|
static DoublePredicate |
DoublePredicate.Util.or(DoublePredicate p1,
DoublePredicate p2)
Applies logical OR to predicates.
|
static DoublePredicate |
DoublePredicate.Util.xor(DoublePredicate p1,
DoublePredicate p2)
Applies logical XOR to predicates.
|
| Modifier and Type | Method and Description |
|---|---|
static DoublePredicate |
DoublePredicate.Util.and(DoublePredicate p1,
DoublePredicate p2)
Applies logical AND to predicates.
|
static DoublePredicate |
DoublePredicate.Util.negate(DoublePredicate p1)
Applies logical negation to predicate.
|
static DoublePredicate |
DoublePredicate.Util.or(DoublePredicate p1,
DoublePredicate p2)
Applies logical OR to predicates.
|
static DoublePredicate |
DoublePredicate.Util.xor(DoublePredicate p1,
DoublePredicate p2)
Applies logical XOR to predicates.
|
Copyright © 2017. All rights reserved.