commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomas Viberg" <to...@viberg.nu>
Subject [functor] CollectionAlgorithms as Functors
Date Mon, 19 May 2003 18:37:43 GMT
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


Mime
View raw message