类 CharacterToNumberFactory
java.lang.Object
cn.taketoday.core.conversion.support.CharacterToNumberFactory
- 所有已实现的接口:
ConverterFactory<Character,Number>
Converts from a Character to any JDK-standard Number implementation.
Support Number classes including Byte, Short, Integer, Float, Double, Long, BigInteger, BigDecimal. This class
delegates to NumberUtils.convertNumberToTargetClass(Number, Class) to perform the conversion.
- 从以下版本开始:
- 3.0
- 作者:
- Keith Donald
- 另请参阅:
-
嵌套类概要
嵌套类修饰符和类型类说明private static final record -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getConverter(Class<T> targetType) Get the converter to convert from S to target type T, where T is also an instance of R.
-
构造器详细资料
-
CharacterToNumberFactory
CharacterToNumberFactory()
-
-
方法详细资料
-
getConverter
从接口复制的说明:ConverterFactoryGet the converter to convert from S to target type T, where T is also an instance of R.- 指定者:
getConverter在接口中ConverterFactory<Character,Number> - 类型参数:
T- the target type- 参数:
targetType- the target type to convert to- 返回:
- a converter from S to T
-