Skip to content
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

javadoc improvements (groupJoin, groupByUntil, timestamp w/scheduler) #569

Merged
merged 1 commit into from
Dec 6, 2013

Conversation

DavidMGross
Copy link
Collaborator

adding marble diagrams and links to the RxJava wiki, standardizing javadoc comment formatting

@cloudbees-pull-request-builder

RxJava-pull-requests #500 SUCCESS
This pull request looks good

benjchristensen added a commit that referenced this pull request Dec 6, 2013
javadoc improvements (groupJoin, groupByUntil, timestamp w/scheduler)
@benjchristensen benjchristensen merged commit 6a4a3d0 into master Dec 6, 2013
@samuelgruetter
Copy link
Contributor

@DavidMGross it would be nice to have a separate diagram for this overload of zip:

public static <R> Observable<R> zip(Observable<? extends Observable<?>> ws, FuncN<? extends R> zipFunction)

Today I wanted to explain this operator to some people, and a nice marble diagram for this would have been useful. As zipFunction, maybe just take a Func3 which puts its 3 arguments into one "box".

@DavidMGross
Copy link
Collaborator Author

I'll see what I can come up with.

On Fri, Dec 6, 2013 at 4:43 AM, samuelgruetter [email protected]:

@DavidMGross https://github.com/DavidMGross it would be nice to have a
separate diagram for this overload of zip:

public static Observable zip(Observable> ws, FuncN<? extends R> zipFunction)

Today I wanted to explain this operator to some people, and a nice marble
diagram for this would have been useful. As zipFunction, maybe just take
a Func3 which puts its 3 arguments into one "box".


Reply to this email directly or view it on GitHubhttps://github.com//pull/569#issuecomment-29987282
.

David M. Gross
PLP Consulting

@DavidMGross
Copy link
Collaborator Author

How does this look?

https://raw.github.com/wiki/Netflix/RxJava/images/rx-operators/zip.o.png

On Fri, Dec 6, 2013 at 9:59 AM, PLP Consulting (David Gross) <
[email protected]> wrote:

I'll see what I can come up with.

On Fri, Dec 6, 2013 at 4:43 AM, samuelgruetter [email protected]:

@DavidMGross https://github.com/DavidMGross it would be nice to have a
separate diagram for this overload of zip:

public static Observable zip(Observable> ws, FuncN<? extends R> zipFunction)

Today I wanted to explain this operator to some people, and a nice marble
diagram for this would have been useful. As zipFunction, maybe just take
a Func3 which puts its 3 arguments into one "box".


Reply to this email directly or view it on GitHubhttps://github.com//pull/569#issuecomment-29987282
.

David M. Gross
PLP Consulting

David M. Gross
PLP Consulting

@samuelgruetter
Copy link
Contributor

Nice! Two ideas for improvement:

  • Having the three observables overlap each other in time would make the diagram more instructive.
  • --> binds stronger than , in most languages, so you really should add parentheses, ie. write zip{ ( cloud, circle, triangle ) --> triangle }, because otherwise it is read as zip{ cloud, circle, (triangle --> triangle) }. This confused me a lot, even though I already knew the semantics of the operator.

@DavidMGross
Copy link
Collaborator Author

Good suggestions. I'll see what I can do.

On Sun, Dec 8, 2013 at 7:12 AM, samuelgruetter [email protected]:

Nice! Two ideas for improvement:

  • Having the three observables overlap each other in time would make
    the diagram more instructive.
  • --> binds stronger than , in most languages, so you really should
    add parentheses, ie. write zip{ ( cloud, circle, triangle ) -->
    triangle }, because otherwise it is read as zip{ cloud, circle,
    (triangle --> triangle) }. This confused me a lot, even though I
    already knew the semantics of the operator.


Reply to this email directly or view it on GitHubhttps://github.com//pull/569#issuecomment-30083438
.

David M. Gross
PLP Consulting

rickbw pushed a commit to rickbw/RxJava that referenced this pull request Jan 9, 2014
javadoc improvements (groupJoin, groupByUntil, timestamp w/scheduler)
jihoonson pushed a commit to jihoonson/RxJava that referenced this pull request Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants