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
FieldDecorator
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
out
to a different type, otherwise return out
.EvaluationException
Copyright © 2018 Singular Systems http://www.singularsys.com/jep