文件名称:type-converter:使类型转换变得非常容易的实用程序类
文件大小:42KB
文件格式:ZIP
更新时间:2024-06-24 02:42:02
Java
在你的项目中开始使用类型转换器的推荐方法是使用依赖管理系统——下面的代码片段可以复制并粘贴到你的构建中。 < dependency> < groupId>pl.jsolve groupId> < artifactId>typeconverter artifactId> < version>1.0.1 version> dependency> TypeConverter是一个实用程序类,它使类型转换变得非常容易。 它非常快速且可扩展。 使用简单 Target convertedObject = TypeConverter . convert(objectThatWillBeConverted, Target . class); 所以例如将String转换为Double Double result = TypeConverter . con
【文件预览】:
type-converter-master
----.gitignore(63B)
----README.md(2KB)
----pom.xml(6KB)
----src()
--------test()
--------main()
----.travis.yml(35B)