Class ConstantPredicate


  • public final class ConstantPredicate
    extends Predicate
    Corresponds to the True and False PMML elements.
    • Constructor Detail

      • ConstantPredicate

        public ConstantPredicate​(boolean value)
        Create a new constant predicate
        Parameters:
        value - The value of the constant.
    • Method Detail

      • getValue

        public boolean getValue()
        Returns the value of the constant
        Returns:
        the value of the constant
      • setValue

        public void setValue​(boolean value)
        Sets the value of the constant
        Parameters:
        value - the value of the constant