Class AbstractToDoubleExpression<T extends Expression>

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

public abstract class AbstractToDoubleExpression<T extends Expression> extends Object implements ToDoubleExpression
Abstract class that implements the ToDoubleExpression interface.
Its intended purpose is to accept a Collection of Expression extending objects to convert into a ToDoubleExpression.
  • Field Details

  • Constructor Details

    • AbstractToDoubleExpression

      protected AbstractToDoubleExpression(Collection<T> operands)
      Constructor for creating a new AbstractToBooleanExpression.
      Parameters:
      operands - Collection of Types extending Expression.