public abstract class ConstantValue<T extends Comparable> extends GroupingExpression
GroupingExpression
. Because it does not operate on any input,
this expression type can be used at any input level (see GroupingExpression.resolveLevel(int)
). All supported
data types are represented as subclasses of this.Modifier | Constructor and Description |
---|---|
protected |
ConstantValue(String label,
Integer level,
T value) |
Modifier and Type | Method and Description |
---|---|
abstract ConstantValue |
copy()
Returns a deep copy of this
|
T |
getValue()
Returns the constant value of this
|
asImage, asString, getLevel, getLevelOrNull, resolveLevel, setLabel, visit
getImage, getLabel, toString
public abstract ConstantValue copy()
GroupingExpression
copy
in class GroupingExpression
public T getValue()
Copyright © 2018. All rights reserved.