All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gdl2.expression.ConstantExpression Maven / Gradle / Ivy

The newest version!
package org.gdl2.expression;

import lombok.EqualsAndHashCode;
import lombok.Getter;

@EqualsAndHashCode(callSuper = false)
@Getter
public class ConstantExpression extends ExpressionItem {
    private String value;

    public ConstantExpression(String value) {
        this.value = value;
    }

    public static ConstantExpression create(String value) {
        return new ConstantExpression(value);
    }

    public String toString() {
        return value;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy