To successfully store and retrieve objects from a hashtable, the objects used as keys must implement the hashCode method and the equals method.

 
  • 为了成功地向哈希表中存储或获取对象,作为key的对象必须实现hashCode方法和equals方法。
今日热词
目录 附录 查词历史