1. postman(一):主界面模块解析 2. postman(二):使用postman发送get or post请求 3. postman(三):添加断言 4. postman(四):添加变量 5. postman(五):在不同接口之间传递数据 6. postman(六):详解在Pre-requ ...
分类:
其他好文 时间:
2021-04-13 11:41:25
阅读次数:
0
ReentrantLock是可重入锁,并且可以实现公平锁。Sychronized是可重入锁、非公平锁。 话不多说,上demo: 1 package com.example.demo.util; 2 3 import java.util.concurrent.locks.ReentrantLock; ...
分类:
其他好文 时间:
2021-04-12 12:54:59
阅读次数:
0
func getTextFileStr(filename:String!) -> String! { if let path = Bundle.main.path(forResource: filename, ofType: "txt") { do { let data = try String(c ...
分类:
编程语言 时间:
2021-04-12 12:35:51
阅读次数:
0
参考下面的连接 https://www.cnblogs.com/mojita/p/12011800.html ...
分类:
其他好文 时间:
2021-04-12 12:18:59
阅读次数:
0
可重入锁 可重入锁指的是在一个线程中可以多次获取同一把锁,比如:一个线程在执行一个带锁的方法,该方法中又调用了另一个需要相同锁的方法,则该线程可以直接获取锁执行调用的方法,而无需重新获得锁; 重入则避免了死锁情况的发生。 例如:当线程1访问testA时,线程2不能访问testB方法,但是可以访问te ...
分类:
其他好文 时间:
2021-04-12 12:16:59
阅读次数:
0
source program: list=[]while True: print("how many number input:") try: num=int(input()) for i in range(num): a=int(input("input"+str((i+1))+"integer: ...
分类:
编程语言 时间:
2021-04-12 11:41:22
阅读次数:
0
进入查看:2021-2022学年英语周报八年级第24期答案及试题 He who risks nothing gains nothing.收获与风险并存。History repeats itself.历史往往重演。Honesty is the best policy.做人诚信为本。Hope for t ...
分类:
其他好文 时间:
2021-04-10 13:20:22
阅读次数:
0
原生js取消事件冒泡 try{ e.stopPropagation(); // 非IE浏览器 } catch(e){ window.event.cancelBubble = true; // IE浏览器 } 原生js阻止默认事件 if ( e && e.preventDefault ) { e.pr ...
分类:
其他好文 时间:
2021-04-08 13:55:27
阅读次数:
0
package com.supermarket.common.utils;import java.lang.reflect.Field;import java.lang.reflect.Method;import java.text.SimpleDateFormat;import java.time ...
分类:
编程语言 时间:
2021-04-08 13:35:35
阅读次数:
0
一:简单介绍MyBatis 1.1、什么是Mybatis MyBatis是一款优秀的持久层框架 它支持定制化SQL、存储过程以及高级映射。 MyBatis避免了几乎所有的JDBC代码和手动设置参数以及获取结果集。 MyBatis 可以使用简单的XML或注解来配置和映射原生类型、接口和Java的 PO ...
分类:
其他好文 时间:
2021-04-08 13:33:54
阅读次数:
0