src/main/java/io/reactivex/internal/functions/ObjectHelper.java
@SuppressWarnings("unchecked")
    public static <T> BiPredicate<T, T> equalsPredicate() {
        return (BiPredicate<T, T>)EQUALS;
    }
@SuppressWarnings("unchecked")
    public static <T> BiPredicate<T, T> equalsPredicate() {
        return (BiPredicate<T, T>)EQUALS;
    }
Returns a BiPredicate that compares its parameters via Objects.equals().
@param <T> the value type
@return the bi-predicate instance