Consider writing a DRL function that does the test and call it in an inline
eval().
-W
On 15 February 2012 18:26, shawn <youngxiao121(a)hotmail.com> wrote:
Hi,
I meet a problem to find an element in an array.
First, I have a 2 dimensional array and a 1 dimensional array.
I need to compare whether the element in 2 dimensional array is as same as
1
dimensional array.
How to solve it?
Like:
In Java - int [][] A; int [] B;
how to iterate array A and array B to find which element is the same in
Drool?
--
View this message in context:
http://drools.46999.n3.nabble.com/rule-with-array-tp3747680p3747680.html
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users