@horstmann.comCay Horstmann @horstmann.com
2026-04-11 20:02 UTC
I never thought much about hash codes of Java enumeration constants, but https://4comprehension.c... set me straight. Turns out enum hash codes are not stable, so serializing them as map keys will not work. Remedy: EnumMap!
1 likes, 0 reposts, 0 replies
3 Next post4 More from @horstmann.comBackBluesky home