| 程序包 | 说明 |
|---|---|
| org.dromara.hutool.core.convert.impl |
各种类型转换的实现类,其都为Converter接口的实现,用于将未知的Object类型转换为指定类型
|
| 限定符和类型 | 方法和说明 |
|---|---|
StringConverter |
StringConverter.putStringer(Class<?> clazz,
Function<Object,String> stringFunction)
加入自定义对象类型的toString规则
|
Copyright © 2023. All rights reserved.