collections: companion code for the How to Sort a HashMap by Value (and Key) post

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KqJyCidz3ZgRyHABv2GVJh
This commit is contained in:
Claude
2026-09-30 19:10:13 +00:00
parent 366579f478
commit 381f119308
22 changed files with 509 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
input size : 5
TreeMap(value): {dave=70, carol=85, alice=90, erin=95} size 4
containsKey : bob true, dave true get(bob) = 70
TreeMap fixed : {bob=70, dave=70, carol=85, alice=90, erin=95} size 5