![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
文章平均质量分 54
bb大咸鱼
努力翻面的咸鱼
展开
-
Collection和Collections,throw throws、String StringBuffer StringBuilder、ArrayList linkedList、HashMap L
Collection和Collections,throw throws、String StringBuffer StringBuilder、ArrayList linkedList、HashMap LinkedHashMap的区别 Collection和Collections的区别 java.util.Collection 是一个 集合框架的父接口。它提供了对集合对象进行基本操作的通用接口方法。Collection接口在Java 类库中有很多具体的实现。Collection接口的意义是为各种具体的集合提原创 2021-06-09 10:10:17 · 72 阅读 · 0 评论 -
算法(一)稀疏矩阵
算法(一)稀疏矩阵 稀疏数组: 处理办法: 1)记录数组一共几行几列,有多少个不同的值 2)把具有不同值的元素的行列以及值记录在一个小规模的数组中,从而缩小程序的规模 public static void main(String[] args) { // TODO Auto-generated method stub //创建一个原始数组11*11 //0表示没有棋子,1表示有棋子 int[][]arr = new int[11][11]; arr[1][2] = 1;转载 2021-06-08 20:52:18 · 169 阅读 · 0 评论 -
Eclipse常用快捷键
eclipse的常用快捷键总结 如果有冲突,请在window 中的preferences 中搜索keys ,来改变其中的快捷键 补全代码的声明:alt + / 快速修复 : ctrl + 1 *批量导包 : ctrl + shift + o *使用单行注释: ctrl + / *使用多行注释: ctrl + shift + / *取消多行注释: ctrl + shift + *复制指定行的代码:ctrl + alt + down 或者 ctrl + alt + up *删除指定行的代码:ctrl原创 2021-04-18 10:09:52 · 53 阅读 · 1 评论