| Package | Description |
|---|---|
| com.annimon.stream | |
| com.annimon.stream.function |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IntStream.allMatch(IntPredicate predicate)
Returns whether all elements of this stream match the provided predicate.
|
boolean |
IntStream.anyMatch(IntPredicate predicate)
Returns whether any elements of this stream match the provided
predicate.
|
IntStream |
IntStream.dropWhile(IntPredicate predicate)
Drops elements while the predicate is true and returns the rest.
|
OptionalInt |
OptionalInt.filter(IntPredicate predicate)
Performs filtering on inner value if present.
|
IntStream |
IntStream.filter(IntPredicate predicate)
Returns a stream consisting of the elements of this stream that match
the given predicate.
|
IntStream |
IntStream.filterNot(IntPredicate predicate)
Returns a stream consisting of the elements of this stream that don't
match the given predicate.
|
static IntStream |
IntStream.iterate(int seed,
IntPredicate predicate,
IntUnaryOperator op)
Creates an
IntStream by iterative application IntUnaryOperator function
to an initial element seed, conditioned on satisfying the supplied predicate. |
boolean |
IntStream.noneMatch(IntPredicate predicate)
Returns whether no elements of this stream match the provided predicate.
|
IntStream |
IntStream.takeWhile(IntPredicate predicate)
Takes elements while the predicate is true.
|
| Modifier and Type | Method and Description |
|---|---|
static IntPredicate |
IntPredicate.Util.and(IntPredicate p1,
IntPredicate p2)
Applies logical AND to predicates.
|
static IntPredicate |
IntPredicate.Util.negate(IntPredicate p1)
Applies logical negation to predicate.
|
static IntPredicate |
IntPredicate.Util.or(IntPredicate p1,
IntPredicate p2)
Applies logical OR to predicates.
|
static IntPredicate |
IntPredicate.Util.xor(IntPredicate p1,
IntPredicate p2)
Applies logical XOR to predicates.
|
| Modifier and Type | Method and Description |
|---|---|
static IntPredicate |
IntPredicate.Util.and(IntPredicate p1,
IntPredicate p2)
Applies logical AND to predicates.
|
static IntPredicate |
IntPredicate.Util.negate(IntPredicate p1)
Applies logical negation to predicate.
|
static IntPredicate |
IntPredicate.Util.or(IntPredicate p1,
IntPredicate p2)
Applies logical OR to predicates.
|
static IntPredicate |
IntPredicate.Util.xor(IntPredicate p1,
IntPredicate p2)
Applies logical XOR to predicates.
|
Copyright © 2017. All rights reserved.