Collections.compare(JDK, Eclipse, Guava, Apache...);
summary
Compares JDK, Apache Commons, Guava, Eclipse Collections and JavaSlang using a deck‑of‑cards domain to measure real differences: building an immutable sorted set, grouping into a multimap, counting with a bag/multiset and dealing five hands. Runs JMH benchmarks (ops/sec) and finds Guava wins the cartesian product, Apache wins group‑by by using hash containers not sorted ones, Eclipse Collections has the fastest bag counts, and implementation choices (array‑backed immutables, unmodifiable wrappers) change both speed and code shape.
AI-written summary · about
chapters (4)
- 0:00Start
- 4:43Java Collections Framework
- 22:41Performance Test - Deck of Cards
- 31:53Collection Framework Comparison








