Class Term.BinaryI

  • Direct Known Subclasses:
    Term.AndI, Term.OrI, Term.XOrI
    Enclosing class:
    Term

    public abstract static class Term.BinaryI
    extends Term.Binary
    An abstract binary (= 2 operands) operation with a return type of int.
    • Constructor Detail

    • Method Detail

      • evalB

        public boolean evalB​(EvalEnv env)
        Description copied from class: Term
        Evaluates this term to a boolean value.
        Specified by:
        evalB in class Term
        Parameters:
        env - the application dependant environment.
        Returns:
        a boolean value
      • evalD

        public double evalD​(EvalEnv env)
        Description copied from class: Term
        Evaluates this term to a double value.
        Specified by:
        evalD in class Term
        Parameters:
        env - the application dependant environment.
        Returns:
        a double value