Returns a predicate that always evaluates to true.
()
| 52 | * Returns a predicate that always evaluates to {@code true}. |
| 53 | */ |
| 54 | @GwtCompatible(serializable = true) |
| 55 | public static <T> Predicate<T> alwaysTrue() { |
| 56 | return ObjectPredicate.ALWAYS_TRUE.withNarrowedType(); |
| 57 | } |
| 58 | |
| 59 | /** |
| 60 | * Returns a predicate that always evaluates to {@code false}. |
no test coverage detected