s****3 发帖数: 1291 | 1 __________ replyDocs = new _________
Object>();
//assume that replyDocs get's filled with something..... and then
execution continues below
if(replyDocs != null && !replyDocs.isEmpty()){
for(String key : replyDocs.keySet()){
_______ summaryObj = (______)replyDocs.get(key);
File newDirectory = new File(parentPath + "\" + dateStamp);
newDirectory.mkdirs();
File newFile = new File(ne... 阅读全帖 |
|
z*******3 发帖数: 13709 | 2 replyDocs
replyDocs.get(key);
理论上是object
不过要这样操作吗?
object还cast个p啊
本身就是object,木有generic以前就是object
更何况这里还generic声明了一下
更不需要cast了 |
|
s****3 发帖数: 1291 | 3 谢谢指点。
这一行还是不明白:
_______ summaryObj = (______)replyDocs.get(key); |
|