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

move count upwards to Collection interface #48

Open
inkrement opened this issue Feb 14, 2016 · 1 comment
Open

move count upwards to Collection interface #48

inkrement opened this issue Feb 14, 2016 · 1 comment

Comments

@inkrement
Copy link

If I am not wrong, each specific Collection implementation provides a count() method, would be nice to shift it up to the collection interface.

@morrisonlevi
Copy link
Owner

This detail was intentional at the time it was made. Collection has changed quite a bit over time so I'll re-examine it to see if it still makes sense to separate this out. Basically I did not want to preclude infinite streams from being Collections.

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

No branches or pull requests

2 participants