Map接口: 1、实现Map接口的类用来存储键(key)-值(value)对 2、Map接口的实现类有HashMap和TreeMap 3、Map类中存储的键-值对通过键来标识,所以键值不能重复 常用方法类: Object put(Object key,Object value); Object ge ...
分类:
编程语言 时间:
2020-08-28 11:49:39
阅读次数:
61
一、docker安装 VMware centos7 # 卸载原有docker yum remove docker docker-common docker-selinux docker-engine -y # 安装yum工具包(方便配置安装源)和数据存储驱动包 yum install -y yum- ...
分类:
其他好文 时间:
2020-08-28 11:44:28
阅读次数:
56
由 潘立峰创建, 最后修改于大约1分钟以前 转至元数据起始 更新自动化环境搭建 浏览器版本 google:81.0.4044.122 火狐:79 火狐插件:try path,katalon recorder5.3.Screenlapse Element Selector wendriver 版本: ...
分类:
其他好文 时间:
2020-08-27 17:06:28
阅读次数:
57
有一个需求就是,只能输入一个大于0的正整数,于是乎使用elemnt ui 的inputNumer控件,但是使用的时候添加了属性step和step-strictly两个属性,问题就来了,输入了一个小数值,虽然页面上四舍五入成功显示成了正整数,但是实际上后台的数字还是v-mode的值还是一个小数值 解决 ...
分类:
其他好文 时间:
2020-08-20 19:15:29
阅读次数:
146
6.mongoDB的java客户端1.springboot操作mongodb1.maven配置<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-data-mongodb</artifactId></depend
分类:
数据库 时间:
2020-08-19 20:07:22
阅读次数:
187
目录: 一、字典 二、元祖 正文 一、字典 字典 d = { 'username':'xiaohei', 'id':1, 'grand':'天马座', 'addr':'北京', 'age':29 } 1、增加 d = { 'username':'xiaohei', 'id':1, 'grand':' ...
分类:
编程语言 时间:
2020-08-18 14:03:06
阅读次数:
70
Implement a method to find the second largest number in an array of ints. If the input array is empty or contains only a single number, the method mus ...
分类:
其他好文 时间:
2020-08-18 13:58:14
阅读次数:
82
//去掉数组中重复的对象functionremoveResove(arr){for(leti=0;i<arr.length;i++){lettem=arr[i]for(letj=i+1;j<arr.length;j++){if(JSON.stringify(tem)==JSON.stringify(arr[j])){arr.splice(j,1)}}}returnarr;}
分类:
编程语言 时间:
2020-08-18 13:21:25
阅读次数:
54
chromedriver.exe编辑 1.用Notepad++ 打开,我这用的二进制编码 2.ctrl + f 搜索 $cdc 找到 $cdc_asdjflasutopfhvcZLmcfl_ 3.替换成 $zyf_asdjflasutopfhvcZLmcfl_ 代码 options = webdri ...
分类:
其他好文 时间:
2020-08-17 17:11:16
阅读次数:
103
在链表类中实现这些功能: get(index):获取链表中第 index 个节点的值。如果索引无效,则返回-1。addAtHead(val):在链表的第一个元素之前添加一个值为 val 的节点。插入后,新节点将成为链表的第一个节点。addAtTail(val):将值为 val 的节点追加到链表的最后 ...
分类:
其他好文 时间:
2020-08-17 16:44:18
阅读次数:
71