| Package | Description |
|---|---|
| com.annimon.stream | |
| com.annimon.stream.function | |
| com.annimon.stream.operator |
| 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 it is present.
|
DoubleStream |
DoubleStream.filter(DoublePredicate predicate)
Returns
DoubleStream with elements that satisfy the given predicate. |
OptionalDouble |
OptionalDouble.filterNot(DoublePredicate predicate)
Performs negated filtering on inner value if it is present.
|
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.takeUntil(DoublePredicate stopPredicate)
Takes elements while the predicate returns
false. |
DoubleStream |
DoubleStream.takeWhile(DoublePredicate predicate)
Takes elements while the predicate returns
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.safe(ThrowableDoublePredicate<Throwable> throwablePredicate)
Creates a safe
DoublePredicate. |
static DoublePredicate |
DoublePredicate.Util.safe(ThrowableDoublePredicate<Throwable> throwablePredicate,
boolean resultIfFailed)
Creates a safe
DoublePredicate. |
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 IndexedDoublePredicate |
IndexedDoublePredicate.Util.wrap(DoublePredicate predicate)
Wraps
DoublePredicate and returns IndexedLongPredicate. |
static DoublePredicate |
DoublePredicate.Util.xor(DoublePredicate p1,
DoublePredicate p2)
Applies logical XOR to predicates.
|
| Constructor and Description |
|---|
DoubleDropWhile(PrimitiveIterator.OfDouble iterator,
DoublePredicate predicate) |
DoubleFilter(PrimitiveIterator.OfDouble iterator,
DoublePredicate predicate) |
DoubleTakeUntil(PrimitiveIterator.OfDouble iterator,
DoublePredicate stopPredicate) |
DoubleTakeWhile(PrimitiveIterator.OfDouble iterator,
DoublePredicate predicate) |
Copyright © 2018. All rights reserved.