TreeMap根据键获取值得到的是null?

TreeMap集合键是Student值是String进行排序的时候,compare返回值为规定值是为什么根据键获取值得到的是null?图片说明

Map 不建议对象作为key,作为key的时候必须重写equals和hashCode方法