45

java整理知识点-JianBo

 6 years ago
source link: http://blog.51cto.com/jianboli/2073396
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
为什么要将map转为set?因为map是存的键值对,转为set后,可以进行遍历,这样就可以将map中的所有键值对都取出来。Set<WebSocket> keySet = map.keySet();       /**  * 获取WebSocket  *&

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK