Class Logical

  • All Implemented Interfaces:
    PostfixMathCommandI, java.io.Serializable

    public class Logical
    extends BinaryFunction
    Logical operators AND and OR. No longer used by default after having added LazyLogical in Jep 3.1.0.
    See Also:
    Serialized Form
    • Constructor Detail

      • Logical

        public Logical​(int id_in)
        Standard constructor, allows Boolean and Number arguments
        Parameters:
        id_in - either of the constants AND or OR
      • Logical

        public Logical​(int id,
                       boolean disallowNumbers)
        Constructor which restricts type of arguments.
        Parameters:
        id - either of the constants AND or OR
        disallowNumbers - if true Number arguments will raise exceptions, otherwise as thee Standard constructor.