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:
@@ -0,0 +1,6 @@
|
||||
src/broken/HashMapIsNotSequenced.java:8: error: cannot find symbol
|
||||
Map.Entry<String, Integer> first = m.firstEntry();
|
||||
^
|
||||
symbol: method firstEntry()
|
||||
location: variable m of type HashMap<String,Integer>
|
||||
1 error
|
||||
Reference in New Issue
Block a user