黑马程序员技术交流社区

标题: Set<key>方法返回map的键值集合,为什么不能对此集合进行排序 [打印本页]

作者: yzhhahaha    时间: 2016-2-22 20:11
标题: Set<key>方法返回map的键值集合,为什么不能对此集合进行排序
Set<key>方法返回map的键值集合,为什么不能对此集合进行排序,不能用colleations.shuffle()方法进行操作呢

作者: tujiu888    时间: 2016-2-22 23:09
colleations.shuffle()针对的是list 而不是set




欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) 黑马程序员IT技术论坛 X3.2