thekid/rfc — Issue #130: RFC 0130: util.HashmapIterator returns values instead of keys
Author: thekid
Created: 2011-10-09 15:17:46+00:00
State: open
Labels: implemented, rfc

Scope of Change
====
- util.HashmapIterator::next return values not keys
- util.Hashmap is extended by a method util.Hashmap::keyIterator,
which returns a util.HashmapIterator to loop over keys

Rationale
====
This change will provide the ability to substitute instances of
different classes that implement the interface util.XPIterator

Functionality
====
To migrate just replace the factory util.Hashmap::iterator by
util.Hashmap::keyIterator

Security considerations
====
n/a

Speed impact
====
n/a

Dependencies
====

```
BC break

```

Related documents
====
- Patch against skeleton:
http://xp-framework.net/rfc/contrib/rfc0130.diff

Comments
====
- friebe, Wed Jun 13 16:00:49 2007
Bringing this forward because of urgency