Class AbstractBinaryToDoubleExpression<T extends Expression>

java.lang.Object
ch.andre601.expressionparser.expressions.abstracted.AbstractBinaryToDoubleExpression<T>
Type Parameters:
T - Type extending Expression.
All Implemented Interfaces:
Expression, ToDoubleExpression

public abstract class AbstractBinaryToDoubleExpression<T extends Expression> extends Object implements ToDoubleExpression
Abstract class implementing the ToDoubleExpression interface.
Its intended purpose is to accept two Expression extending objects to create a ToDoubleExpression from.
  • Field Details

  • Constructor Details

    • AbstractBinaryToDoubleExpression

      protected AbstractBinaryToDoubleExpression(T a, T b)
      Constructor for creating a new AbstractBinaryToDoubleExpression
      Parameters:
      a - The first Type extending Expression.
      b - The second Type extending Expression.