码迷,mamicode.com
首页 >  
搜索关键字:run    ( 19056个结果
Java中的定时调度
Timer类是一个线程设施,用于实现在某个时间或者某一段时间后安排某个任务执行一次或者定期重复执行。需要与TimerTask配合使用。TimerTask类用来实现由Timer安排的一次或重复执行的某次任务。是一个抽象类,子类必须覆写其中的run()方法,它引入接口Runnable得到的方法。每个Ti...
分类:编程语言   时间:2015-09-05 09:53:07    阅读次数:225
Android 项目中执行java的main方法
Android 项目中执行java的main方法 导语 今日,在android项目中写了一个工具类,为了简单测试一下输出,就只直接在类中加上了main方法,于是问题来了: 解决方法是网上找到了,已经解决了,在此记录一下。 右击项目名,调出Properties窗口,打开Run/Debug Settin...
分类:移动开发   时间:2015-09-04 19:46:52    阅读次数:170
[HDOJ5365]Run
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5365众所周知,整点是围不成正三角形正五边形正六边形的,所以我们只需暴力出它可以围成几个正四边形。 1 #include 2 #include 3 #include 4 #include 5 #i...
分类:其他好文   时间:2015-09-04 14:09:25    阅读次数:164
Java实现excel数据导入和导出
//写入一个Excel文件import java.io.*;import jxl.*;import java.lang.Boolean;public class WriteToExcel{ public Boolean run(String targetFile){ try{ ...
分类:编程语言   时间:2015-09-04 12:22:47    阅读次数:149
The server does not support version 3.0 of the J2EE Web module specification
1.错误:在eclipse中使用run->run on server的时候,选择tomcat6会报错误:The server does not support version 3.0 of the J2EE Web module specification2.原因:Tomcat 6.0最多支持Ser...
分类:Web程序   时间:2015-09-04 09:52:03    阅读次数:164
LeetCode "H-Index"
Sorting is a natural solution. But, you don't have to run O(nlgn) sorting for all the time. Counting sort is O(n)!class Solution {public: int hInde...
分类:其他好文   时间:2015-09-04 07:33:25    阅读次数:179
poj 3273 Monthly Expense(二分搜索之最大化最小值)
DescriptionFarmer John is an astounding accounting wizard and has realized he might run out of money to run the farm. He has already calculated and re...
分类:其他好文   时间:2015-09-03 19:07:02    阅读次数:156
visual studio 安装Entity framework失败
今日通过Nuget安装Entity Framwork 6.1.3时候在最后一步石一直报错,提示“安装失败,正在回滚”。回滚也就罢了,居然还卸载不了安装了一半的EF。shit考虑是不是得用管理员模式run Visual Studio试之,然并卵。是不是Nuget版本太低?检查更新,没问题啊,没提示更新...
分类:其他好文   时间:2015-09-03 15:16:47    阅读次数:278
Thread basic
* 一个进程可以有多个线程,程序是静态的,进程是动态的* 线程的主要方法 》start():启动线程,并执行相应的run()方法 》run(): 子线程要执行的代码 》currentThread():静态的,调取当前的线程 》get(set)Name():获取(设置)线程的名字 》yied...
分类:其他好文   时间:2015-09-03 01:50:50    阅读次数:312
LoadRunner错误处理函数
分类: 《LoadRunner虚拟用户开发指南》 2009-06-29 14:20 4688人阅读 评论(2) 收藏 举报loadrunner脚本action测试节选自《LoadRunner虚拟用户开发指南》在脚本的Run-time Settings中,可以设置在脚本运行过程中发生错误的处理方式。进...
分类:其他好文   时间:2015-09-02 18:51:55    阅读次数:202
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!