fastutil
Use compact Java collection types designed for primitive values.
vigna · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
Add it.unimi.dsi:fastutil:8.5.19 to a small Java project. Sort four fictional counts stored in a list of primitive integers.
What we tested
8.5.19. Sort four fictional counts stored in a list of primitive integers. Sorted the primitive sample values in the expected ascending order.