All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mml-compiler-commons.7.63.0.Final.source-code.KiePMMLOperatorFunctionTemplate.tmpl Maven / Gradle / Ivy

There is a newer version: 10.0.0
Show newest version
package org.kie.pmml;

import java.util.function.BinaryOperator;

public class KiePMMLOperatorFunctionTemplate {

    protected BinaryOperator getInnerBinaryOperatorOR() {
         return (aBoolean, aBoolean2) -> aBoolean != null ? aBoolean || aBoolean2 : aBoolean2;
    }

    protected BinaryOperator getInnerBinaryOperatorAND() {
         return (aBoolean, aBoolean2) -> aBoolean != null ? aBoolean && aBoolean2 : aBoolean2;
    }

    protected BinaryOperator getInnerBinaryOperatorXOR() {
         return (aBoolean, aBoolean2) -> aBoolean != null ? aBoolean ^ aBoolean2 : aBoolean2;
    }

    protected BinaryOperator getInnerBinaryOperatorSURROGATE() {
        return (aBoolean, aBoolean2) -> aBoolean;
    }

    protected BinaryOperator getInnerBinaryOperator() {
        return (aBoolean, aBoolean2) -> aBoolean;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy