[condition][]规则开始=$list : ArrayList() 解释: 需要在java类中写上如下才能满足条件:
WorkingMemory workingMemory = ruleBase.newStatefulSession();
List list= new ArrayList(); workingMemory.insert( list ); workingMemory.fireAllRules();本文共 281 字,大约阅读时间需要 1 分钟。
[condition][]规则开始=$list : ArrayList() 解释: 需要在java类中写上如下才能满足条件:
WorkingMemory workingMemory = ruleBase.newStatefulSession();
List list= new ArrayList(); workingMemory.insert( list ); workingMemory.fireAllRules();转载于:https://www.cnblogs.com/kunpengit/archive/2013/06/06/3120478.html