That solves only the cases when we really iterate over singleton.
For nested iterations, we will still have a lot of boilerplate....
On 16.6.2014 22:13, Lincoln Baxter, III wrote:
For the windup-configuration, i think the fastest answer is to do
this:
https://issues.jboss.org/browse/WINDUP-87
On Thu, Jun 12, 2014 at 8:03 AM, Ondrej Zizka <ozizka(a)redhat.com
<mailto:ozizka@redhat.com>> wrote:
Nested iterations create verbose rules with a lot of boilerplate.
Maybe the iteration could be over tuples of vertices.
Eg. in DiscoverJavaFilesCP, instead of
forEach( windupConf )
...
...
............
.....
forEach( javaFile )
we could query to get
[ { windupConf, javaFile },
{ windupConf, javaFile }
... ]
And iterate over that.
Anyone investigated this? IIRC from the Gremlin tutorial, this is
possible.
Ondra
_______________________________________________
windup-dev mailing list
windup-dev(a)lists.jboss.org <mailto:windup-dev@lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/windup-dev
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
_______________________________________________
windup-dev mailing list
windup-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/windup-dev