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

add toMap from Java Observable #1005

Merged
merged 3 commits into from
Apr 15, 2014

Conversation

suncelesta
Copy link
Contributor

Added three overloads of toMap to Scala Observable

@samuelgruetter
Copy link
Contributor

Please also add some examples to RxScalaDemo on how these methods can be used. And every PR should have a small description ;-)

* @return an Observable that emits a single item: a Map containing the mapped items from the source
* Observable
*/

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please keep style consistant: no newlines between doc and method ;-)

Added examples for all three overloads and removed newlines between
methods and docs
@samuelgruetter
Copy link
Contributor

When I run the toMapExample1() test, I get a StackOverflowError. Can you please fix this?

Implementation corrected to not raise exceptions
@cloudbees-pull-request-builder

RxJava-pull-requests #934 FAILURE
Looks like there's a problem with this pull request

@suncelesta
Copy link
Contributor Author

Seems that there was some git error...

@benjchristensen
Copy link
Member

Tests pass for me, merging.

benjchristensen added a commit that referenced this pull request Apr 15, 2014
@benjchristensen benjchristensen merged commit 7a85774 into ReactiveX:master Apr 15, 2014
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.

None yet

4 participants