Class ConstantExpressionTemplate

java.lang.Object
ch.andre601.expressionparser.templates.ConstantExpressionTemplate
All Implemented Interfaces:
ExpressionTemplate

public class ConstantExpressionTemplate extends Object implements ExpressionTemplate
An ExpressionTemplate instance that holds a ToBooleanExpression, ToDoubleExpression and ToStringExpression instance to call.

Static methods are available to create a new instance from a boolean, double or String respectively, with each having a different way of converting the provided value into the other outputs: