Miscellaneous
- HashMap make use of Comparable too (since Java 8)
- WeakHashMap
- Vector + Enumeration has some bugs -> Iterator is better
- QuickSort, MergeSort and TimSort
- Cannot use
parallel()
with all collections times. TreeSet may block forever. - Include the concurrent collections
- Good collections libraries
- https://gist.github.com/kabutz/0fd0efc2c3629e8358d209ba73f0b44e
- https://github.com/JCTools/JCTools
- https://www.eclipse.org/collections/
- https://github.com/OpenHFT/Chronicle-Queue
Stream.forEach()
vs. Iterable.forEach()
- answer