public final class SymbolFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static Symbol |
createConstant(String name,
boolean value)
Creates a new
boolean constant. |
static Symbol |
createConstant(String name,
double value)
Creates a new
double constant. |
static Symbol |
createConstant(String name,
int value)
Creates a new
int constant. |
static Variable |
createVariable(String name,
boolean value)
Creates a new
boolean variable. |
static Variable |
createVariable(String name,
double value)
Creates a new
double variable. |
static Variable |
createVariable(String name,
int value)
Creates a new
int variable. |
public static Symbol createConstant(String name, boolean value)
boolean constant.name - the constant's namevalue - the constant's final valuenullpublic static Symbol createConstant(String name, int value)
int constant.name - the constant's namevalue - the constant's final valuenullpublic static Symbol createConstant(String name, double value)
double constant.name - the constant's namevalue - the constant's final valuenullpublic static Variable createVariable(String name, boolean value)
boolean variable.name - the variable's namevalue - the variable's initial valuenullpublic static Variable createVariable(String name, int value)
int variable.name - the variable's namevalue - the variable's initial valuenullCopyright © 2002–2014 Brockmann Consult GmbH. All rights reserved.