All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.featherfly.conversion.string.basic.DoubleConvertor Maven / Gradle / Ivy


package cn.featherfly.conversion.string.basic;



/**
 * 

* 双精度浮点数转换器 *

* * @author 钟冀 */ public class DoubleConvertor extends NumberBasicTypeConvertor{ /** */ public DoubleConvertor() { } /** * {@inheritDoc} */ @Override public Class getSourceType() { return double.class; } // /** // * {@inheritDoc} // */ // @Override // protected Double doToObject(String value, GenericType genericType) { // if (StringUtils.isNotBlank(value)) { // return Double.parseDouble(value); // } // return -1d; // } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy