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

PriorityQueue should forward a constructor to HeapPriorityQueue #17

nex3 opened this issue Jan 26, 2016 · 0 comments


None yet
1 participant
Copy link

commented Jan 26, 2016

It's nice that PriorityQueue allows for different implementations, but (like the core collection APIs) it should have a factory constructor that forwards to the default implementation. Right now, it's confusing that you can't construct a PriorityQueue using new PriorityQueue().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.