public final class Predicates extends Object
Modifier and Type | Method and Description |
---|---|
static <E> Predicate<E> |
newIsNotNullPredicate()
Creates a Predicate that checks if the passed object is not null.
|
static <E> Predicate<E> |
newIsNullPredicate()
Creates a Predicate that checks if the passed object is null.
|
public static <E> Predicate<E> newIsNullPredicate()
public static <E> Predicate<E> newIsNotNullPredicate()
Copyright © 2020. All rights reserved.