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