flexjson.factories.BigIntegerFactory Maven / Gradle / Ivy
package flexjson.factories;
import java.lang.reflect.Type;
import java.math.BigInteger;
import flexjson.ObjectBinder;
import flexjson.ObjectFactory;
public class BigIntegerFactory implements ObjectFactory
{
public Object instantiate(ObjectBinder context, Object value, Type targetType, Class targetClass)
{
return new BigInteger(value.toString());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy