You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But the comparator in the constructor is not stored, so it remains NULL upon loading the map. This causes nasty run-time errors (in my case weeks after deployment!), because without the backing comparator, the key is expected to be Comparable: