Try Drools its original packaging or retention of digital objects, and therefore bind to the primitive int variable is no longer required to manually cancel the packing when used in a code block or expression; 3.0 Drools different, all primitives are automatically packing and unpacking manually. Variable is bound to an object will remain as the wrapper objects; in this case, application of existing rules JDK 1.5 and JDK 5 to handle automatic boxing and unboxing. When evaluating field constraints, where the system will try to cast a value comparable format; so the object primitive wrapper considerable.
drools Rule (V) Notes A Note on the original type of automatic packing and on Auto-boxing and Primitive Types
Guess you like
Origin blog.csdn.net/top_explore/article/details/93879197
Ranking