FutureTask運転中に停止できる非同期操作タスククラス
http://developer.android.com/reference/java/util/concurrent/FutureTask.html
A cancelable asynchronous computation.This class provides a base implemenation of
A FutureTask can be used to wrap a
In addition to serving as a standowlone class、this class provides protected functionlythat may be useful when creating customized task clases.
このクラスはandroid.os.AyncTaskで使われています。
AndroidのAyncTaskの使用について詳しく説明します。http://blog.csdn.net/liuhe688/article/details/6532519
今はこれらを書いて、後で気分がよくなったら詳しく書きます。
A cancelable asynchronous computation.This class provides a base implemenation of
Future
、with methods to start and cancel a computation、query to see if the compute、and retrieve the relt of the compretion.Thethe get method will block if the computation has not yet completted.Onese the computation has completted,the computation cannot be retard or cancelled.A FutureTask can be used to wrap a
Callable
or Runnable
object.Because FutureTask implements Runnable,a FutreTask can be submitted to an Executor
for execution.In addition to serving as a standowlone class、this class provides protected functionlythat may be useful when creating customized task clases.
このクラスはandroid.os.AyncTaskで使われています。
AndroidのAyncTaskの使用について詳しく説明します。http://blog.csdn.net/liuhe688/article/details/6532519
今はこれらを書いて、後で気分がよくなったら詳しく書きます。