标题:java 线程问题!
取消只看楼主
yynn
Rank: 1
等 级:新手上路
帖 子:279
专家分:0
注 册:2005-11-4
 问题点数:0 回复次数:0 
java 线程问题!
由于是英语有点不是很明白! implement asynchronous procedure call is one which returns as soon as the procedure has been invoked, with the result that the caller and the invocation of the procedure proceed in parallel:
里面加了个getResult() 方法!
class AsyncFunc extends Thread{
   private ... result;
   public AsyncFunc(...){
  ...
  }
  public void run()[
 //do calculation;
  result=?;
}
boolean getResult(){
return result;
}
}
这个是什么意思,和线程有什么关系呢?
搜索更多相关主题的帖子: 线程 java 英语 result procedure 
2008-01-21 03:18



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-198149-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.129804 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved