Uses of Class
org.miaixz.bus.core.lang.reflect.TypeReference
Packages that use TypeReference
Package
Description
Map相关封装,提供特殊Map实现
万能类型转换器以及各种类型转换的实现类,其中Convert为转换器入口,提供各种toXXX方法和convert方法
-
Uses of TypeReference in org.miaixz.bus.core.center.map
Methods in org.miaixz.bus.core.center.map with parameters of type TypeReferenceModifier and TypeMethodDescriptionstatic <T> TMapGets.get(Map<?, ?> map, Object key, TypeReference<T> type) 获取Map指定key的值,并转换为指定类型static <T> TMapGets.get(Map<?, ?> map, Object key, TypeReference<T> type, T defaultValue) 获取Map指定key的值,并转换为指定类型static <T> TMapGets.getQuietly(Map<?, ?> map, Object key, TypeReference<T> type, T defaultValue) 获取Map指定key的值,并转换为指定类型,转换失败后返回null,不抛异常 -
Uses of TypeReference in org.miaixz.bus.core.convert
Methods in org.miaixz.bus.core.convert with parameters of type TypeReferenceModifier and TypeMethodDescriptionstatic <T> TConvert.convert(TypeReference<T> reference, Object value) 转换值为指定类型