You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Henri Yandell <ba...@generationjava.com> on 2004/07/19 22:53:55 UTC

[collections] OrderedMap.valuesAsList?

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