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.
我试图在调试时将键值对添加到现有的哈希映射对象,但无法这样做。我尝试在更改值对象框中添加以下内容,但它说哈希映射无法解析。
Map result = new HashMap(); result.put("Id","883LP07"); return result;
当您的程序在断点处停止时,结果映射可用 -> 在代码中的任何位置写入
result.put("Id","883LP07")
, 标记它并执行 rightMouse->Display
尝试使用new java.util.HashMap.
new java.util.HashMap