| Package | Description |
|---|---|
| java.util | |
| java.util.function |
| Modifier and Type | Method and Description |
|---|---|
default boolean |
Collection.removeIf(Predicate<? super E> filter)
Removes all of the elements of this collection that satisfy the given
predicate.
|
| Modifier and Type | Method and Description |
|---|---|
default Predicate<T> |
Predicate.and(Predicate<? super T> other)
Returns a composed predicate that represents a short-circuiting logical
AND of this predicate and another.
|
static <T> Predicate<T> |
Predicate.isEqual(Object targetRef)
Returns a predicate that tests if two arguments are equal according
to
Objects#equals(Object, Object). |
default Predicate<T> |
Predicate.negate()
Returns a predicate that represents the logical negation of this
predicate.
|
default Predicate<T> |
Predicate.or(Predicate<? super T> other)
Returns a composed predicate that represents a short-circuiting logical
OR of this predicate and another.
|
| Modifier and Type | Method and Description |
|---|---|
default Predicate<T> |
Predicate.and(Predicate<? super T> other)
Returns a composed predicate that represents a short-circuiting logical
AND of this predicate and another.
|
default Predicate<T> |
Predicate.or(Predicate<? super T> other)
Returns a composed predicate that represents a short-circuiting logical
OR of this predicate and another.
|
Copyright © 2025 API Design. All Rights Reserved.