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