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-tp4...
Sent from the Drools: User forum mailing list archive at
Nabble.com.