Java中Map/List/Set . 很实用,分享一下。 简单版本 复杂版本 参考: http://initbinder.com/articles/cheat-sheet-for-selecting-maplistset-in-java.html http://www.sergiy.ca/guide-to-selecting-appropriate-map-collection-in-java/