Hi Mats! >Hi, are there any plans for releasing this project?
Yes, I'm already using [functor] in some experiments with fuzzy logic and Jenkins plug-ins, and having fun with JDK 8 lambdas. We still have two open issues before a release though. >The "Function" I need is a "PredicatedProcedure" ie the procedure is only >invoked if the predicate evaluates to true. If we also add the possibility to >chain these functors, the result would be a pretty powerful tool. This would fit in the o.a.c.functor.adapter package I think. There is a NullaryPredicateProcedure in there, but it is missing a PredicateProcedure. You can also use a ConditionalProcedure. Take a look in the adapter and core packages. If you can't find what you need in there, please file an issue in JIRA (patches welcome :o). Thanks! Bruno P. Kinoshita http://kinoshita.eti.br http://tupilabs.com >________________________________ > From: Mats Aune <mats.a...@gmail.com> >To: ki...@apache.org; denn...@apache.org >Sent: Wednesday, October 23, 2013 6:40 AM >Subject: Commons functor > > > >Hi, are there any plans for releasing this project? > > >There is one feature I think is missing (maybe It already is there..). > > >The "Function" I need is a "PredicatedProcedure" ie the procedure is only >invoked if the predicate evaluates to true. If we also add the possibility to >chain these functors, the result would be a pretty powerful tool. > > >The we could chain several PredicatedProcedure togeter and while/if the >predicate evaluates to false the next PredicatedProcedure will be invoked. >This will continue until the PredicatedProcedure evaluates to true and the >belonging procedure is invoked. > > >M > > >-- >Yours Sincerely >Mats F. Aune > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org