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

Added all() to AbstractMap #15

Merged
merged 3 commits into from
Apr 11, 2014
Merged

Added all() to AbstractMap #15

merged 3 commits into from
Apr 11, 2014

Conversation

CMCDragonkai
Copy link
Contributor

Please release a tag as soon as you merge this.

Solves: #14

@CMCDragonkai
Copy link
Contributor Author

Hey @schmittjoh any news?

@schmittjoh
Copy link
Owner

Could you add a simple test for this? Will merge asap then.

@CMCDragonkai
Copy link
Contributor Author

Done. Although I just realised setAll does a merge. Should there be a function which replacesAll?

@schmittjoh
Copy link
Owner

Not sure, why not create a new Map in that case?

schmittjoh added a commit that referenced this pull request Apr 11, 2014
@schmittjoh schmittjoh merged commit 94a2c04 into schmittjoh:master Apr 11, 2014
@CMCDragonkai
Copy link
Contributor Author

Mainly because you might want to use the same object?

@schmittjoh
Copy link
Owner

What you could do is a clear() and then a setAll().

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.

2 participants