方法重载: 需求:解决多个同类型方法的命名的问题 好处:方便使用编译器判断的依据:1,方法同名 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Thr ...
分类:
其他好文 时间:
2020-06-07 19:11:03
阅读次数:
51
public class Palindrome_Number9 { public static boolean isPalindrome(int x) { if(x<0){ return false; } String result=new Integer(x).toString(); for(in ...
分类:
其他好文 时间:
2020-06-07 15:11:13
阅读次数:
54
转自:详解k8s中的liveness和readiness的原理和区别 https://www.cnblogs.com/xuxinkun/p/11785521.html liveness与readiness的探针工作方式源码解析 liveness和readiness作为k8s的探针,可以对应用进行健康 ...
分类:
其他好文 时间:
2020-06-07 11:21:11
阅读次数:
68
from functools import reduce i = int(input("input a number 1-10: ")) result = reduce(lambda a, b: a*b, [item for item in range(1,i+1)]) print(f'factor ...
分类:
编程语言 时间:
2020-06-06 21:41:28
阅读次数:
86
Mybatis实战报错 Error attempting to get column 'xxx' from result set. Cause: java.sql.SQLDataException: Unsupported conversion from LONG to java.time.Loca ...
分类:
数据库 时间:
2020-06-06 21:29:07
阅读次数:
534
#C程序设计实验报告 姓名:徐瑾琳 实验地点:赣南医学院黄金校区 实验时间:2020年6月6日 ##实验项目 8.3.1 指针基础及指针运算 8.3.2 数据交换 8.3.3 字符串反转及字符串连接 8.3.4 数组元素奇偶排序 ##一、实验目的与要求 1、掌握指针的概念和定义方法。 2、掌握指针的 ...
分类:
其他好文 时间:
2020-06-06 18:20:25
阅读次数:
58
map,循环每个元素(第二个参数),然后让每个元素执行函数(第一个参数),将每个函数执行的结果保存到新的列表中,并返回。 v1 = [11,22,33,44]result = map(lambda x:x+100,v1)print(list(result)) # 特殊 filter 循环每个元素(第 ...
分类:
编程语言 时间:
2020-06-06 00:58:14
阅读次数:
69
这是一个来自知识星球网友的提问: 答复: 导出时就不能用 UIHelper.Result(); 了,UIHelper.Result()需要配合 F.doPostBack 回发时才可用(AJAX回发)。 我之前有一篇文章详细描述 UIHelper 的用法,可以参考: UIHelper是个什么梗? Po ...
分类:
其他好文 时间:
2020-06-06 00:51:29
阅读次数:
89
一、基础篇 1.线程池的参数 1> CorePoolSize 核心线程数 2> MaxPoolSize 最大线程数 3> QueueCapacity 队列容量 4> KeepAliveSecond 没有任务存活时间 5> TimeUnit 时间单位 6> rejectedExecutionHandl ...
分类:
其他好文 时间:
2020-06-05 23:23:52
阅读次数:
101
https://community.smartbear.com/t5/SoapUI-Pro/Get-all-test-step-result-of-a-test-case/td-p/27746 然后其他case再获取这个case的属性进行判断 ...
分类:
其他好文 时间:
2020-06-05 15:21:25
阅读次数:
59