-
Notifications
You must be signed in to change notification settings - Fork 3
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
Annotate Gatherer
APIs.
#79
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These look like they were missed, but I don't know this API:
default <RR> Gatherer<T, ?, RR> andThen(Gatherer<? super R, ?, ? extends RR> that)
on line 274 in Gatherer
: shouldn't RR
allow null?
static <A> Supplier<A> defaultInitializer()
on line 289 and static <A> BinaryOperator<A> defaultCombiner()
on line 304 in Gatherer
: should A
allow null?
static <A, R> BiConsumer<A, Downstream<? super R>> defaultFinisher() {
on line 321 in Gatherer
: A
and R
should be nullable?
Thanks, I had totally missed those.
The others are more interesting. The implementations of
I have never actually used these APIs, so I could well still be missing things. I would be OK with waiting to merge this until I can justify taking the time to investigate more deeply, or we could go for it and figure that we'll get feedback if users encounter actual problems. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I had missed that this was updated. I merged in main
and things look good to me.
No description provided.