[rules-users] Example of contains operator...
jdepaul
jjdepaul at us.ibm.com
Tue Feb 13 09:19:48 EST 2007
Ok thanks - I've changed partnerList to ArrayList and now it no longer blows
up with ClassCashException, but it also doesn't find the match for "2900";
The partnerList is now an ArrayList of Partner objects (with partnerId,
partnerName, parterPurpose attributes). How would I structure that
expression given the object structure?
thanks,
james
Michael Neale wrote:
>
> contains works on the Collection interface. So if parnerList is a
> ArrayList
> of String, then you could do: parnerList contains "2900"
>
--
View this message in context: http://www.nabble.com/Example-of-contains-operator...-tf3202978.html#a8944919
Sent from the drools - user mailing list archive at Nabble.com.
More information about the rules-users
mailing list