Package | Description |
---|---|
java8.util.function |
Functional interfaces provide target types for lambda expressions
and method references.
|
java8.util.stream |
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
|
Modifier and Type | Method and Description |
---|---|
static LongPredicate |
LongPredicates.and(LongPredicate this_,
LongPredicate other)
Returns a composed predicate that represents a short-circuiting logical
AND of the
this_ predicate and another. |
static LongPredicate |
LongPredicates.negate(LongPredicate this_)
Returns a predicate that represents the logical negation of the
this_
predicate. |
static LongPredicate |
LongPredicates.or(LongPredicate this_,
LongPredicate other)
Returns a composed predicate that represents a short-circuiting logical
OR of the
this_ predicate and another. |
Modifier and Type | Method and Description |
---|---|
static LongPredicate |
LongPredicates.and(LongPredicate this_,
LongPredicate other)
Returns a composed predicate that represents a short-circuiting logical
AND of the
this_ predicate and another. |
static LongPredicate |
LongPredicates.negate(LongPredicate this_)
Returns a predicate that represents the logical negation of the
this_
predicate. |
static LongPredicate |
LongPredicates.or(LongPredicate this_,
LongPredicate other)
Returns a composed predicate that represents a short-circuiting logical
OR of the
this_ predicate and another. |
Modifier and Type | Method and Description |
---|---|
boolean |
LongStream.allMatch(LongPredicate predicate)
Returns whether all elements of this stream match the provided predicate.
|
boolean |
LongStream.anyMatch(LongPredicate predicate)
Returns whether any elements of this stream match the provided
predicate.
|
LongStream |
LongStream.filter(LongPredicate predicate)
Returns a stream consisting of the elements of this stream that match
the given predicate.
|
boolean |
LongStream.noneMatch(LongPredicate predicate)
Returns whether no elements of this stream match the provided predicate.
|
Copyright © 2015. All rights reserved.