选型需要考虑: 1. 材料 2. 材质 3. 内容 4. 范围 选择镜头 5. 厚度 6. 效率 7. 效果 脚本代码: 打印测试效果如下: ...
分类:
其他好文 时间:
2019-12-16 19:06:51
阅读次数:
84
目录: 一、Map接口 二、Collection工具类 /* 分割线 */ 一、Map接口 Map中的key用Set来存放,不可重复。作为一个Map对象所对应的类,需重写hashCode和equals方法。 HashMap是Map接口使用频率最高的实现类。 添加、删除、修改操作: Object pu ...
分类:
编程语言 时间:
2019-12-16 13:00:01
阅读次数:
78
List为一个接口,直接继承Collection接口,对比他们的接口变化:除了Collection接口中size(),isEmpty()等方法,其增加了基于下标index的一系列方法,摘抄部分接口方法: get(int) set(int, E) add(int, E) remove(int) ind ...
分类:
编程语言 时间:
2019-12-16 09:47:47
阅读次数:
86
Collection 常用接口 集合List和Set通用的方法 + 添加对象到集合 + 删除指定元素 + 清空集合中元素 + 判断是否包含元素 + 判断当前集合是否为空 + 返回集合中元素个数 + 把集合中元素存储到数组中 + 添加指定集合所有对象到集合 + 判断是否包含指定集合中的所有元素 + 删 ...
分类:
其他好文 时间:
2019-12-15 21:34:53
阅读次数:
155
自己整理的面试题,希望可以帮到大家,需要更多资料的可以私信我哦,大家一起学习进步! 59、ArrayList和Vector的区别 答: 这两个类都实现了List接口(List接口继承了Collection接口),他们都是有序集合,即存储在这两个集合中的元素的位置都是有顺序的,相当于一种动态的数组,我 ...
分类:
编程语言 时间:
2019-12-15 20:12:09
阅读次数:
63
OGB: Open Graph Benchmark https://ogb.stanford.edu/ https://github.com/snap-stanford/ogb OGB is a collection of benchmark datasets, data-loaders and e ...
分类:
系统相关 时间:
2019-12-15 18:11:42
阅读次数:
282
方法名描述 db.collection.aggregate() 聚合,主要用于处理数据(诸如统计平均值,求和等),并返回计算后的数据结果 db.collection.bulkWrite() 批量写入 db.collection.createIndex() 创建一个集合索引 db.collection ...
分类:
数据库 时间:
2019-12-15 16:46:00
阅读次数:
83
方法名描述 db.collection.aggregate() 聚合,主要用于处理数据(诸如统计平均值,求和等),并返回计算后的数据结果 db.collection.bulkWrite() 批量写入 db.collection.createIndex() 创建一个集合索引 db.collection ...
分类:
数据库 时间:
2019-12-15 16:07:40
阅读次数:
100
Object References, Mutability, and Recycling 本章章节: Variables Are Not Boxes identity , Equality , Aliases Copies are shallow by default Function Parame ...
分类:
编程语言 时间:
2019-12-15 12:43:37
阅读次数:
71
Note 2: Complain1. The collection of Linkun's [1]:1.1suckIf someone says that something sucks, they are indicating that they think it is very bad. [V] ...
分类:
其他好文 时间:
2019-12-15 12:38:59
阅读次数:
73