-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Operators without co- or contravariance #494
Comments
reduce: That's a long story, see #369 , #360 , and #336 (comment) .
min/max: IMHO it would be a good idea to add wildcards, what do others think? |
For min/max, I agree with you. I'll fix it. |
It seems we can close this issue now. |
jihoonson
pushed a commit
to jihoonson/RxJava
that referenced
this issue
Mar 6, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm looking at the operator definition and found a bunch of places where the "lambda" functions do not have wildcard bounds specified, e.g.,
reduce(Func2[T, T, T])
max(Comparator[T])
etc.
Is there a particular reason these are not:
reduce(Func2[? super T, ? super T, ? extends T])
max(Comparator[? super T])
?
The text was updated successfully, but these errors were encountered: