public class NumberToDoubleDecorator extends FieldDecorator
| Constructor and Description |
|---|
NumberToDoubleDecorator(FieldI field) |
NumberToDoubleDecorator(FieldI field,
boolean simplifyResults) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
convertInput(java.lang.Object in)
Convert Number types to double.
|
java.lang.Object |
convertOutput(java.lang.Object out)
Attempt to convert the output from a Field method.
|
public NumberToDoubleDecorator(FieldI field)
public NumberToDoubleDecorator(FieldI field, boolean simplifyResults)
public java.lang.Object convertInput(java.lang.Object in)
throws EvaluationException
convertInput in class FieldDecoratorin to a different type, otherwise return in.EvaluationExceptionpublic java.lang.Object convertOutput(java.lang.Object out)
throws EvaluationException
FieldDecoratorconvertOutput in class FieldDecoratorEvaluationExceptionCopyright © 2018 Singular Systems http://www.singularsys.com/jep