You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Tomas Viberg <to...@viberg.nu> on 2003/05/19 20:37:43 UTC

[functor] CollectionAlgorithms as Functors

Hello,

I've been using the functors package a bit lately, and I have come to think that it would be nice if the functionality of the CollectionAlgorithms class also was available as separate functors. For example, the collect method could be implemented as a UnaryFunction that returns a List when it is evaluated with an Iterator, and the other methods could be provided as functors in a similar manner.

Are there any plans for something like this, or is there some reason why it's not a good idea?

Regards,
/ Tomas

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