看源码得知: public enum State { /** * Thread state for a thread which has not yet started. */ NEW, /** * Thread state for a runnable thread. A thread in th ...
分类:
编程语言 时间:
2020-04-05 20:40:38
阅读次数:
79
不使用BootStrap 之 CSS全局样式中的表格,自己也不定义CSS样式 <table> <caption>学生信息表</caption> <tr> <th>编号</th> <th>姓名</th> <th>性别</th> <th>操作</th> </tr> <tr> <td>1</td> <td ...
分类:
Web程序 时间:
2020-04-05 10:04:32
阅读次数:
97
package LeetCode_1137 /** * 1137. N-th Tribonacci Number * https://leetcode.com/problems/n-th-tribonacci-number/description/ * * The Tribonacci sequen ...
分类:
其他好文 时间:
2020-04-05 09:52:07
阅读次数:
53
现假设有一个整型数组: Integer[] arr = {20, 20, 4, 4, 21, 7}; // 2020年4月4日21时7分 如何用逗号加空格 “, ” 分割数组元素并放置在“[]”中从而获得如下格式的数组元素字符串呢? [20, 20, 4, 4, 21, 7] Show you th ...
分类:
其他好文 时间:
2020-04-05 00:27:21
阅读次数:
70
The sequence of mm integers is called the permutation if it contains all integers from 11 to mm exactly once. The number mm is called the length of th ...
分类:
其他好文 时间:
2020-04-04 14:19:57
阅读次数:
98
异常对象的printStackTTrace()方法用于打印异常的跟踪栈信息,根据printStackTTrace()方法输出的结果,开发者可以找到异常的源头,并跟踪到异常一路触发的过程。 下面测试printStackTrace的例子: 运行上面的程序可以看出如下图所示的结果: 从图可以看出异常从th ...
分类:
编程语言 时间:
2020-04-03 23:41:50
阅读次数:
84
leetcode 53. Maximum Subarray 链接 "leetcode" 描述 Given an integer array nums, find the contiguous subarray (containing at least one number) which has th ...
分类:
其他好文 时间:
2020-04-03 16:25:10
阅读次数:
60
Windows Server远程默认端口是3389,为了安全性,有时候需要修改。 打开注册表 修改一 打开位置 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp] 修改Port ...
测试一下Linux下面删除大量文件的效率。 首先建立50万个文件 $ test for i in $(seq 1 500000);do echo text >>$i.txt;done 1. rm删除 $ time rm -f * zsh: sure you want to delete all th ...
分类:
系统相关 时间:
2020-04-02 22:15:55
阅读次数:
109
腾讯官网 body,ol,ul,h1,h2,h3,h4,h5,h6,p,th,td,dl,dd,form,fieldset,legend,input,textarea,select{margin:0;padding:0} body{font:12px"宋体","Arial Narrow",HELVE ...
分类:
Web程序 时间:
2020-04-02 15:43:10
阅读次数:
101