void java.util.Timer.schedule(TimerTask task, long delay, long period)第一个参数,是 TimerTask 类,在包:import java.util.TimerTask .使用者要继承该类,并实现public void run()...
分类:
移动开发 时间:
2014-12-02 14:59:09
阅读次数:
240
1.class MyThread extends Thread{
private int a;
public void run(){
for( ; a
System.out.println(getName() + " " + a);
}
}
public static void main(String [ ] args){
MyThread one = new MyThre...
分类:
编程语言 时间:
2014-12-02 09:00:58
阅读次数:
201
最刚开始分平台调用原生的提示,但是由于项目之后要显示的内容变的复杂,只好研究一下全局的游戏公告该怎么显示了。
直接addChild的是行不通的,或者处理起来比较繁琐,因为每次切换scene都会清空。
研究了一下cocos2dx的渲染机制。
入口:CCApplication::sharedApplication()->run()CCDirecor会周期执行一个mainLoop
int CCA...
分类:
其他好文 时间:
2014-12-01 17:44:40
阅读次数:
137
#!/usr/bin/python
#-*-coding:utf-8-*-
#RUN//程序启动
#EXIT//程序退出
#START//热点启动
#STOP//热点停止
#ONL//客户端上线
#OFFL//客户端下线
#INSTALL//安装
#UNINSTALL//卸载
importre
#模式匹配UUID
patternUid=re.compile(r‘(\w){8}-(\w){4}-(\w){4}-(\w){4}-(\w){12..
分类:
编程语言 时间:
2014-12-01 16:21:27
阅读次数:
144
from: https://secure.clcbio.com/helpspot/index.php?pg=kb.page&id=113Can I run a local BLAST search again multiple blast databases simultaneously? (bla...
分类:
数据库 时间:
2014-12-01 12:45:55
阅读次数:
205
Function Run Fun
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 2376 Accepted Submission(s): 1187
Problem Description
We all lo...
分类:
其他好文 时间:
2014-12-01 01:13:52
阅读次数:
215
一、PC端直接运行服务器
1. 进入目录androidpn-server-0.5.0\bin,双击run.bat
2. 浏览器输入网址:http://127.0.0.1:7070/index.do
3. 将androidpn-client导入到Eclipse
4. 配置好目标平台,打开androidpn-client/res/raw/androidpn.properties...
分类:
移动开发 时间:
2014-12-01 01:10:41
阅读次数:
314
编译程序使用自定义图标:#AutoIt3Wrapper_Icon=自定义图标地址打开指定的网址:(也可以指定其他浏览器exe)Run(@ProgramFilesDir & "\Internet Explorer\iexplore.exe 这里写你要打开的网址")
分类:
其他好文 时间:
2014-12-01 00:45:35
阅读次数:
230
class Car{ int num; String color; void run() { System.out.println(num+"..."+color); }}new Car().num = 5;匿名对象:没有名字的对象new Car(...
分类:
其他好文 时间:
2014-12-01 00:42:21
阅读次数:
229
1 当前工程下-右击build path- add libraries-Junit4 2 在主类中创建一个无返回值的方法 3 导入import org.junit.Test 4 在创建的方法中进行代码编写 5 双击方法名,右键run as - junit进行测试 @Test public void ...
分类:
其他好文 时间:
2014-11-30 21:20:17
阅读次数:
151