摘要: I think all of the answers here cover the core of what the lambda function does in the context of sorted() quite nicely, however I still feel like a d 阅读全文
posted @ 2017-06-29 21:15 2021年的顺遂平安君 阅读(329) 评论(0) 推荐(0)
摘要: I think all of the answers here cover the core of what the lambda function does in the context of sorted() quite nicely, however... 阅读全文
posted @ 2017-06-29 21:15 2021年的顺遂平安君 阅读(67) 评论(0) 推荐(0)
摘要: 声明动态数组 ArrayList objectArray = new ArrayList(); 添加数组元素 objectName.add(new ClassName()); 提前设定数组大小 如果提前知道或预测到数组大小,可以使用ensure... 阅读全文
posted @ 2017-06-29 12:59 2021年的顺遂平安君 阅读(59) 评论(0) 推荐(0)
摘要: 声明动态数组 添加数组元素 提前设定数组大小 如果提前知道或预测到数组大小,可以使用 : 这样在添加前 100 个元素不会触发动态数组重新分配数组大小的功能(节省内存时间), 但这个数组仍然是动态的 ,可以包含不止100个元素。 返回数组大小 注意和普通数组的 区分。 固定数组大小 如果确定当前数组 阅读全文
posted @ 2017-06-29 12:59 2021年的顺遂平安君 阅读(2051) 评论(0) 推荐(0)
摘要: src->New->Package 阅读全文
posted @ 2017-06-29 09:28 2021年的顺遂平安君 阅读(599) 评论(0) 推荐(0)
摘要: `src New Package` 阅读全文
posted @ 2017-06-29 09:28 2021年的顺遂平安君 阅读(2862) 评论(0) 推荐(0)