Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下哈希映射,但我需要可以添加重复行的映射,我应该更改它吗?
我需要完全相同的结构
public static LinkedHashMap<String, HashMap<String, String>> moData = new LinkedHashMap<String, HashMap<String, String>>();
谷歌已经实现了一个集合LinkedHashMultiMap。也许使用它?