[rules-users] Accessing Hashmap values and keys in LHS

thomas kukofka thomaskukofka at web.de
Tue Jul 29 13:12:33 EDT 2008


Hello,

I have a Hashmap<String, Double> hm as Input and want to execute the rule
for each key respectively value.

when
        hm: HashMap()
        value: Number() from hm.values()
        key: String() from hm.keySet()
then ...

But unfortunately it doesn't work like this. Any ideas?

Regards
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080729/54a9ddf3/attachment.html 


More information about the rules-users mailing list