Re: [rules-users] How to traverse the Collection by index

2010-03-08 Thread Shabbir Dhari
Dear Thomas I got the idea. Thanks alot for quick and detailed response. Ragards, Dhari > From: tswinde...@nds.com > To: rules-users@lists.jboss.org > Date: Mon, 8 Mar 2010 08:16:31 + > Subject: Re: [rules-users] How to traverse the Collection by index > &

Re: [rules-users] How to traverse the Collection by index

2010-03-08 Thread Swindells, Thomas
--- > From: rules-users-boun...@lists.jboss.org [mailto:rules-users- > boun...@lists.jboss.org] On Behalf Of dhari > Sent: 08 March 2010 06:38 > To: rules-users@lists.jboss.org > Subject: [rules-users] How to traverse the Collection by index > > > Hi all, > I want to com

[rules-users] How to traverse the Collection by index

2010-03-07 Thread dhari
Hi all, I want to compare all elements in the collection with other element of the same collection. In my case I have collection of Segment, a Segment contains startDate and endDate. The whole collection of Segment should consists on complete calendar year and every segment in the list must start

[rules-users] How to traverse the Collection by index

2010-03-07 Thread dhari
Hi all, I want to compare all elements in the collection with other element of the same collection. In my case I have collection of Segment, a Segment contains startDate and endDate. The whole collection of Segment should consists on complete calendar year and every segment in the list must start