commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject [collections] OrderedMap.valuesAsList?
Date Mon, 19 Jul 2004 20:53:55 GMT

Would be very nice if the values of an OrderedMap were available as a List
as well as the keys. Any reason why this would be bad?

As ListOrderedMap.asList is but a view on the Map, valuesAsList would be
the same way, so largely it's just the same code as asList with a tweak to
call get on the Map.

Hen


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message