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 FieldDecorator
in
to a different type, otherwise return in
.EvaluationException
public java.lang.Object convertOutput(java.lang.Object out) throws EvaluationException
FieldDecorator
convertOutput
in class FieldDecorator
EvaluationException
Copyright © 2018 Singular Systems http://www.singularsys.com/jep