yaohonv's recent timeline updates
yaohonv

yaohonv

lighten my lights , lighten your code
V2EX member #7693, joined on 2011-04-07 14:12:44 +08:00
lighten my lights , lighten your code
yaohonv's recent replies
Apr 8, 2011
Replied to a topic by beta4better Google App Engine 提供限时免费GAE反向代理服务
Apr 7, 2011
Replied to a topic by yaohonv iDev UI与其他业务线程的java code实例
// 定义一个带定时的线程
final ScheduledExecutorService timer = Executors
.newScheduledThreadPool(1);
final Runnable beeper = new Runnable() {

public void run() {
if (shell.isDisposed())
timer.shutdown();
display.syncExec(new Runnable() {
public void run() {
DirectMessageParam temp = ConWeibo
.getNearDirectMessage(weibo,
dmp.getNearestID(), 1375764302);
if (null != temp) {
text1.insert(temp.getContent() + "\r\n");
dmp = temp;
}

}
});
}
};
timer.scheduleAtFixedRate(beeper, 1, 5, TimeUnit.SECONDS);
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   946 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 18:06 · PVG 02:06 · LAX 11:06 · JFK 14:06
♥ Do have faith in what you're doing.