2016年4月5日

Java 集合嵌套List of List

摘要: 在LeetCode上遇到这样返回值 List<List<Integer>> 即List的内容是List的类型,直接使用List<List<Integer>> list = new List<List<Integer>>()是错的,因为List是接口,不能实例化(Cannot instantiate 阅读全文

posted @ 2016-04-05 14:33 yuanww 阅读(23413) 评论(0) 推荐(2) 编辑

导航