Class AbstractUnaryToDoubleExpression<T extends Expression>

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

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

  • Constructor Details

    • AbstractUnaryToDoubleExpression

      protected AbstractUnaryToDoubleExpression(T delegate)
      Constructor for creating a new AbstractUnaryToDoubleExpression.
      Parameters:
      delegate - Type extending Expression.