Sorry for the confusion.
I am just trying to store the value in to a global hashmap (more like a
counter) and get back the total size of the hashmap after all the data is
processed.
function setValue(String a, String b){
hashValue.put(a,b);
}
function int getValue(){
return hashValue.size();
}
--
View this message in context:
http://drools.46999.n3.nabble.com/How-to-use-global-hashmap-in-drools-tp4026555p4026557.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users