摘要: 前几天刷leetcode-majorityElement时碰到一泛型问题,用到的代码如下:HashMap hashMap=new HashMap();//注释为正确写法//HashMap hashMap=new HashMap(); if (hashMap.containsKey... 阅读全文
posted @ 2015-02-19 20:48 yzongyue 阅读(242) 评论(0) 推荐(0) 编辑