-
Notifications
You must be signed in to change notification settings - Fork 224
Open
Labels
featureProposed language feature that solves one or more problemsProposed language feature that solves one or more problems
Description
Currently we can loop over maps via map.entries
:
for (final MapEntry(:key, :value) in map.entries) {
// ...
}
It would be nice to have either a syntax sugar or have Map<K, V>
implement Iterable<(K, V)>
so that we can do
for (final (key, value) in map) {
// ...
}
dcharkes, FMorschel, srawlins, mmcdon20, Wdestroier and 9 moreAlexanderFarkas
Metadata
Metadata
Assignees
Labels
featureProposed language feature that solves one or more problemsProposed language feature that solves one or more problems