2021年10月12日
摘要: ConcurrencyThrottleSupport 用于限制对特定资源的并发访问的支持类。 设计用作基类,子类在其工作流的适当位置调用beforeAccess()和afterAccess()方法。注意,afterAccess通常应该在finally块中调用! 此支持类的默认并发限制为-1(“无界并 阅读全文
posted @ 2021-10-12 14:30 icodegarden 阅读(50) 评论(0) 推荐(0) 编辑
摘要: CompositeIterator 可包括多个Iterator的Iterator Set<Iterator<E>> iterators = new LinkedHashSet<>(); #public void add(Iterator<E> iterator) 新增一个iterator,同一个it 阅读全文
posted @ 2021-10-12 13:38 icodegarden 阅读(76) 评论(0) 推荐(0) 编辑
摘要: CollectionUtils static final float DEFAULT_LOAD_FACTOR = 0.75f; #public static boolean isEmpty(@Nullable Collection<?> collection) null或empty #public 阅读全文
posted @ 2021-10-12 13:22 icodegarden 阅读(67) 评论(0) 推荐(0) 编辑