[rules-users] BaseDescr and addOrMerge method

Mark Proctor mproctor at codehaus.org
Mon Dec 17 19:38:07 EST 2007


Raffaele Viola wrote:
> Hi all,
>
> I'm searching for a description about the way to use the addOrMerge 
> method in the BaseDescr interface,
> but in the Drools 4.0.3 API there are nothing? Can someone help me?
Just look at the code:
    public void addOrMerge(final BaseDescr baseDescr) {
        if ( baseDescr instanceof AndDescr ) {
            this.descrs.addAll( ((AndDescr) baseDescr).getDescrs() );
        } else {
            addDescr( baseDescr );
        }
    }
>
> Thanks in advance
> Raffo
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071218/27e0d5d2/attachment.html 


More information about the rules-users mailing list