public class IntegerToBigIntegerDecorator extends FieldDecorator
| Constructor and Description |
|---|
IntegerToBigIntegerDecorator(FieldI field) |
IntegerToBigIntegerDecorator(FieldI ring,
boolean simplifyResults)
If simplifyResults is true any BigInteger result which can be converted to a integer without loss of precision
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
convertInput(java.lang.Object in)
Attempt to convert the input to a Field method.
|
java.lang.Object |
convertOutput(java.lang.Object out)
Attempt to convert the output from a Field method.
|
public IntegerToBigIntegerDecorator(FieldI field)
public IntegerToBigIntegerDecorator(FieldI ring, boolean simplifyResults)
ring - base ringsimplifyResults - whether to try to convert real results back to Doubles.public java.lang.Object convertInput(java.lang.Object in)
throws EvaluationException
FieldDecoratorconvertInput in class FieldDecoratorin to a different type, otherwise return in.EvaluationExceptionpublic java.lang.Object convertOutput(java.lang.Object out)
throws EvaluationException
FieldDecoratorconvertOutput in class FieldDecoratorout to a different type, otherwise return out.EvaluationExceptionCopyright © 2018 Singular Systems http://www.singularsys.com/jep