archives

« Bugzilla Issues Index

#1115 — Collection APIs: Iterator API review


Per Nov 29 Resolution:

Update existing specification according to the following guidelines.

1. iterable over values
2. iterable over keys
3. iterable over [ key|index, value ]


These are implemented as:

1. .values()
2. .keys()
3. .entries()

On the following:

Array
Map
Set


did we decide on a meaning of keys and the key position of entries for sets?

same as values?