一般大家都知道ArrayList和LinkedList的大致区别: 1.ArrayList是实现了基于动态数组的数据结构,LinkedList基于链表的数据结构。 2.对于随机访问get和set,ArrayList觉得优于LinkedList,因为LinkedList要移动指针。 3.对于新增和删除 ...
分类:
编程语言 时间:
2020-05-14 15:28:44
阅读次数:
63
线程的创建方式:1:通过继承Thread类来创建线程。2:通过实现Runnable接口来创建线程。然后在Main方法里分别创建通过继承Thread类和实现Runnable接口的线程,如下图:我们可以看见:通过继承Thread类的创建线程是直接new 一个对象的。而通过实现接口的是new 一个对象之后... ...
分类:
编程语言 时间:
2020-05-14 15:09:02
阅读次数:
56
(1) select current_timestamp (2)select now() (3)select current_time (4)select current_date ...
分类:
数据库 时间:
2020-05-14 15:08:45
阅读次数:
337
一、集合 ` 二、Collection类 1、 Collection的常用方法 2、迭代器 三、List 迭代器 四、List的遍历方式 1、使用迭代器 2、普通for 3、增强for 五、ConcurrentModificationException异常 六、基本数据结构 1、栈 2、队列 3、数 ...
分类:
编程语言 时间:
2020-05-14 15:07:14
阅读次数:
58
Available CPUs for this target: native - Select the CPU of the current host (currently haswell). amdfam10 athlon athlon-4 athlon-fx athlon-mp athlon-t ...
分类:
其他好文 时间:
2020-05-14 11:34:08
阅读次数:
138
错误信息: 我的错误原因是我没有打开本地的docker 2375端口 打开方式:右击右下角的小鲸鱼(我用的是docker for window),点击settings如下图 ...
分类:
其他好文 时间:
2020-05-14 01:09:34
阅读次数:
347
1.写cookie值 /// <summary> /// 写cookie值 /// </summary> /// <param name="strName">名称</param> /// <param name="strValue">值</param> /// <param name="strVal ...
1.展示 2.代码片段 WXML 导航栏 <view class="swiper-tab"> <view class="swiper-tab-list {{currentTab==0 ? 'on' : ''}}" data-current="0" bindtap="swichNav">未完成</vi ...
分类:
微信 时间:
2020-05-13 14:12:36
阅读次数:
124
一、BE获取上下文信息 UFIDA.U9.Base.Context 二、UI获取上下文信息 UFIDA.U9.UI.PDHelper.PDContext.Current ...
分类:
其他好文 时间:
2020-05-13 10:11:23
阅读次数:
55
CentOS 7.6在线扩容xfs文件系统(创建大于2T的磁盘分区并使用LVM管理)
分类:
其他好文 时间:
2020-05-13 09:57:04
阅读次数:
62