- 博客(3)
- 收藏
- 关注
转载 创建Java线程的3种方式及对比
一:继承Thread类创建线程类 class PrimeThread extends Thread { long minPrime; PrimeThread(long minPrime) { this.minPrime = minPrime; } public void run() {
2017-08-12 10:54:26
226
原创 使用java实现windows与linux文件互相传递
使用java实现windows与linux文件互相传递最近公司的一个小项目需要在linux远端服务器上运行然后获取结果到本地用户目录下,当时为这个搜遍了百度,想破了脑袋。 记录一下,万一以后需要用,可以少走一些弯路。 环境准备:JDKpscp.exe我尝试过的方法一开始想在linux上执行获取本机的ip,通过pscp到本机的路径 –想法很美好,但是没有成功,不知道原因。在linux上
2017-08-12 10:51:09
1462
原创 Project Euler Problem1-5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.Find the sum of all the multiples of 3 or 5 below 1000.using Pyth
2017-03-18 23:20:24
220
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人