public class SimpleEvaluation extends Object implements Evaluation
| Constructor and Description |
|---|
SimpleEvaluation(double value)
Create a simple evaluation with given double value.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getValue()
Get the double value specified at construction.
|
String |
toString()
Get a string representation of the assigned value.
|
static SimpleEvaluation |
WITH_VALUE(double value)
Creates a simple evaluation with the specified value.
|
public SimpleEvaluation(double value)
value - double valuepublic static final SimpleEvaluation WITH_VALUE(double value)
value - assigned valuepublic double getValue()
getValue in interface EvaluationCopyright © 2016. All rights reserved.