| 类 | 说明 |
|---|---|
| ConcurrentHashSet<E> |
JDK并没有提供ConcurrenHashSet,考虑到JDK的HashSet也是基于HashMap实现的,因此ConcurrenHashSet也由ConcurrenHashMap完成。
|
| SortedArrayList<E> |
从Jodd整体复制,部分指定了index的操作不支持,如 add(index, element)
修改包括:改进Comparator泛型定义,findInsertionPoint的位移改进
https://github.com/oblac/jodd/blob/master/jodd-core/src/main/java/jodd/util/collection/SortedArrayList.java
An extension of
ArrayList that insures that all of the items
added are sorted. |
Copyright © 2019. All rights reserved.