2021年10月15日
摘要: InstanceFilter 一个简单的匹配器,子类可以覆盖match方法自定义match规则 private final Collection<? extends T> includes; private final Collection<? extends T> excludes; privat 阅读全文
posted @ 2021-10-15 16:48 icodegarden 阅读(25) 评论(0) 推荐(0) 编辑
摘要: DigestUtils 更多更能推荐使用Apache CAMONS #public static byte[] md5Digest(byte[] bytes) #public static byte[] md5Digest(InputStream inputStream) #public stati 阅读全文
posted @ 2021-10-15 16:27 icodegarden 阅读(125) 评论(0) 推荐(0) 编辑
摘要: PropertiesPersister Properties读写的策略接口 DefaultPropertiesPersister 默认实现类,所有方法都委托java.util.Properties的方法 ResourcePropertiesPersister 支持在spring.properties 阅读全文
posted @ 2021-10-15 16:18 icodegarden 阅读(145) 评论(0) 推荐(0) 编辑
摘要: ConcurrentReferenceHashMap 官方描述:一个Concurrent的HashMap,对键和值使用软引用或弱引用。在并发访问时支持更好的性能,可用作Collections.synchronizedMap(new WeakHashMap<K,Reference<V>>())的替代品 阅读全文
posted @ 2021-10-15 11:26 icodegarden 阅读(577) 评论(0) 推荐(0) 编辑