netty5/common/src/main/templates/io/netty/util/collection
Michael André Pearce a40655ad0c Support removal using values iterator. (#8866)
Motivation:

As ActiveMQ project using netty, we want to make use of this class, unfortunately the iterator on values(), seems to not support remove method, even so the delegated iterator does. Currently we have to clone and modify this class locally albeit a one line change is needed, it would be ideal if netty could allow remove, then removing the need to maintain a clone.  

Modifications:

* remove throws UnsupportedOperationException, and instead call remove method on delegated iterator

Result:

Be able to call Iterator.remove() for the values.
2019-02-26 21:29:07 +01:00
..
KCollections.template Make PrimitiveCollections generated for all primitive maps. 2015-07-27 06:59:23 -07:00
KObjectHashMap.template Support removal using values iterator. (#8866) 2019-02-26 21:29:07 +01:00
KObjectMap.template Make IntObjectHashMap extend Map 2015-07-22 15:52:27 -07:00