| Modifier and Type | Method and Description |
|---|---|
static <T> Predicate<T> |
falsePredicate()
Gets the Predicate singleton that always returns false.
|
static <T> Predicate<T> |
truePredicate()
Gets the Predicate singleton that always returns true.
|
public static <T> Predicate<T> falsePredicate()
T - the type of the input to the predicate.public static <T> Predicate<T> truePredicate()
T - the type of the input to the predicate.Copyright © 2001–2025 The Apache Software Foundation. All rights reserved.