Hello,
My retract util func() is below and ClassCast exception is thrown. Some help
please...

 public static <T>  void remove(WorkingMemory workingMemory,T... array) 
    { 
        if(array == null || array.length == 0)
        {
            return;
        }
    
        for (int i=0;i<array.length;i++) 
        { 
            
                workingMemory.retract((FactHandle) array[i]); 
        } 
             
    } 
-- 
View this message in context: 
http://www.nabble.com/ClassCast-exception-while-doing-retract-tp22566763p22566763.html
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to