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 Iterable for key value pair to HashMap #12766

Closed
DartBot opened this issue Aug 26, 2013 · 3 comments
Closed

Add Iterable for key value pair to HashMap #12766

DartBot opened this issue Aug 26, 2013 · 3 comments
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-duplicate Closed in favor of an existing report

Comments

@DartBot
Copy link

DartBot commented Aug 26, 2013

This issue was originally filed by @paulevans


HashMap has:
  external Iterable<K> get keys;
  external Iterable<V> get values;

But does not expose an Iterable for the pairs. It only exposes that via:

external void forEach(void action(K key, V value));

It would be useful to use functions such as fold that can be found on Iterable on the key value pair collection.

@iposva-google
Copy link
Contributor

Added Area-Library, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Aug 26, 2013

This comment was originally written by @seaneagan


dupe of issue #7088

@lrhn
Copy link
Member

lrhn commented Aug 27, 2013

Added Duplicate label.
Marked as being merged into #7088.

@DartBot DartBot added Type-Defect area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-duplicate Closed in favor of an existing report labels Aug 27, 2013
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

4 participants