public class ConstantNode extends Object implements Expression
| Constructor and Description |
|---|
ConstantNode(Object value) |
| Modifier and Type | Method and Description |
|---|---|
Object |
eval(Function context)
评估
|
Object |
getValue()
获取值
|
boolean |
isCollection()
是否为集合
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitevalpublic ConstantNode(Object value)
public Object getValue()
public boolean isCollection()
public Object eval(Function context)
Expressioneval in interface ExpressionCopyright © 2025. All rights reserved.