Returns a predicate that evaluates to true if the object being tested equals() the given target or both are null.
(@Nullable T target)
| 181 | |
| 182 | |
| 183 | public static <T> Predicate<T> equalTo(@Nullable T target) { |
| 184 | return (target == null) ? Predicates.<T>isNull() : new IsEqualToPredicate<T>(target); |
| 185 | } |
| 186 | |
| 187 | /** |
| 188 | * Returns a predicate that evaluates to {@code true} if the object being tested is an instance of |
no test coverage detected