public class ConstantResolver
extends gnu.jel.DVMap
Primitives, strings and objects are currently catered for.
| Constructor and Description |
|---|
ConstantResolver(Map<String,? extends Constant<?>> constMap)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBooleanProperty(String name) |
byte |
getByteProperty(String name) |
char |
getCharacterProperty(String name) |
Map<String,? extends Constant<?>> |
getConstantMap()
Returns this resolver's map of known constants.
|
double |
getDoubleProperty(String name) |
float |
getFloatProperty(String name) |
int |
getIntegerProperty(String name) |
long |
getLongProperty(String name) |
Object |
getObjectProperty(String name) |
short |
getShortProperty(String name) |
String |
getStringProperty(String name) |
Set<Constant<?>> |
getTranslatedConstants()
Returns a collection of those constants that have been referenced
in expressions compiled with use of this resolver.
|
String |
getTypeName(String name) |
public Map<String,? extends Constant<?>> getConstantMap()
public Set<Constant<?>> getTranslatedConstants()
public double getDoubleProperty(String name)
public float getFloatProperty(String name)
public long getLongProperty(String name)
public int getIntegerProperty(String name)
public short getShortProperty(String name)
public byte getByteProperty(String name)
public boolean getBooleanProperty(String name)
public char getCharacterProperty(String name)
Copyright © 2026 Central Laboratory of the Research Councils. All Rights Reserved.