一、继承Thread类 重写run()方法 二、实现Runnable接口 实现run()方法 不能返回值、不能抛出异常 三、实现Callable接口 重写call()方法 返回值 抛异常 第三种方式需要借助FutureTask来使用:new Thread(new FutureTask(new MyC ...
分类:
编程语言 时间:
2021-07-26 16:48:30
阅读次数:
0
iOS 跳转App Store进行评分 1.前言 遭遇4.2.2把我逼得没办法了,啥功能都怼上去了 2.实现 在 viewdidload 或者 viewwillappear 中判断是否需要显示评分,因为SKStoreReviewController 一年最多三次,所以我就无耻点相隔四个月调用一次 N ...
分类:
移动开发 时间:
2021-07-26 16:47:36
阅读次数:
0
哈哈哈,经典神图来了,相信很多人都看过! 诺基亚短信生成网址:https://njy.youquanhao.cn/ ...
分类:
移动开发 时间:
2021-07-26 16:40:24
阅读次数:
0
一、数据库层特性 1、Mysql数据库bypass 1.参数和union之间 id=1\Nunion id=1.1union id=8e0union 2.union和select之间 union%0aselect union%09select union%0bselect union%0cselec ...
分类:
数据库 时间:
2021-07-23 17:41:48
阅读次数:
0
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in ...
分类:
其他好文 时间:
2021-07-23 17:39:58
阅读次数:
0
原始代码: import keras import numpy as np path = keras.utils.get_file( 'nietzsche.txt', origin='https://s3.amazonaws.com/text-datasets/nietzsche.txt' ) te ...
python画统计图 python有一个画图的库matplotlib,非常方便我们日常使用或者写论文做插图等等。我们不需要考虑样式的问题,输入数据就可以轻轻松松把图画出来。你用Excel、matlab等工具,我也没意见。 matplotlib: Visualization with Python M ...
分类:
编程语言 时间:
2021-07-21 17:39:14
阅读次数:
0
import com.logistics.channel.constant.BizException;import com.logistics.channel.tool.CommonErrorEnum;import com.logistics.channel.tool.ResultBody;impo ...
分类:
其他好文 时间:
2021-07-21 17:30:16
阅读次数:
0
简述 springboot是基于约定的,所以很多配置都有默认的值,但如果想用自己的配置替换掉默认的配置的话,就可以使用application.properties或者application.yml(application.yml)进行配置 yml和properties的区别 properties文件 ...
分类:
编程语言 时间:
2021-07-20 16:25:24
阅读次数:
0
mysql的char和varchar的区别 char是定长类型,当我们指定char的长度时,如果真实存储的长度没有达到我们指定的长度,则会在右边补空格来达到指定长度。varchar为可变长度类型,varchar在保存时不进行填充处理,VARCHAR类型的实际长度是它的值的实际长度+1,多出来的一个字 ...
分类:
数据库 时间:
2021-07-19 16:50:54
阅读次数:
0