Uses of Interface
org.aoju.bus.core.lang.function.XSupplier
Packages that use XSupplier
Package
Description
Bean相关操作,包括Bean信息描述,Bean路径表达式、动态Bean等
提供单例对象的统一管理
语言特性包,包括大量便捷的数据结构,例如验证器Validator,分布式ID生成器Snowflake等
函数封装 一个函数接口代表一个函数,用于包装一个函数为对象 在JDK8之前,Java的函数并不能作为参数传递,也不能作为返回值存在,此接口用于将一个函数包装成为对象,从而传递对象
Map相关封装,提供特殊Map实现以及列表类型值的Map实现
-
Uses of XSupplier in org.aoju.bus.core.beans
Methods in org.aoju.bus.core.beans with parameters of type XSupplierModifier and TypeMethodDescriptionBeanCache.getBeanDesc(Class<?> beanClass, XSupplier<BeanDesc> supplier) 获得属性名和BeanDescMap映射PropertyCache.getPropertyDescriptorMap(Class<?> beanClass, boolean ignoreCase, XSupplier<Map<String, PropertyDescriptor>> supplier) 获得属性名和PropertyDescriptorMap映射 -
Uses of XSupplier in org.aoju.bus.core.instance
Methods in org.aoju.bus.core.instance with parameters of type XSupplierModifier and TypeMethodDescriptionstatic <T> TInstances.singletion(String key, XSupplier<T> supplier) 获得指定类的单例对象 对象存在于池中返回,否则创建,每次调用此方法获得的对象为同一个对象 -
Uses of XSupplier in org.aoju.bus.core.lang
Methods in org.aoju.bus.core.lang with parameters of type XSupplier -
Uses of XSupplier in org.aoju.bus.core.lang.function
Methods in org.aoju.bus.core.lang.function that return XSupplierMethods in org.aoju.bus.core.lang.function with parameters of type XSupplier -
Uses of XSupplier in org.aoju.bus.core.map
Methods in org.aoju.bus.core.map with parameters of type XSupplierModifier and TypeMethodDescription通过lambda批量设置值 实际使用时,可以使用getXXX的方法引用来完成键值对的赋值:Constructors in org.aoju.bus.core.map with parameters of type XSupplierModifierConstructorDescriptionCollectionValueMap(Supplier<Map<K, Collection<V>>> mapFactory, XSupplier<Collection<V>> collFactory) 创建一个多值映射集合,基于mapFactory与collFactory实现CollectionValueMap(XSupplier<Collection<V>> collFactory) 创建一个多值映射集合,默认基于HashMap与collFactory生成的集合实现