public class ConstantValue extends FormulaValue
Modifier and Type | Field and Description |
---|---|
protected double |
value |
logger
Constructor and Description |
---|
ConstantValue(double value) |
Modifier and Type | Method and Description |
---|---|
double |
getValue(Feature feature)
Returns the value (as a double) of this part of the formula.
|
boolean |
isFeatureDependent()
Helps to determine, if the value depends on a feature's attribute value.
|
java.lang.String |
toString() |
public double getValue(Feature feature)
FormulaValue
getValue
in class FormulaValue
feature
- in this case we don't need the feature...public boolean isFeatureDependent()
FormulaValue
isFeatureDependent
in class FormulaValue
public java.lang.String toString()
toString
in class FormulaValue