可爱的了了吧 关注:43贴子:989
  • 0回复贴,共1
Some map implementations, like the TreeMap class, make specific guarantees as to their order; others, like the HashMap class, do not.
一些Map接口的具体实现(比如TreeMap)保证元素有一定的顺序,其它一些实现(比如HashMap)则不保证元素在其内部有序。


IP属地:美国1楼2016-07-14 10:18回复