zoukankan      html  css  js  c++  java
  • Runnable接口介绍(中文文档)

    package(包)

    java.lang

    Interfaces(接口)

    Runnable

    Represents a command that can be executed.

    代表一个能被执行的命令。

    public interface(公有接口)

    Runnable

    java.lang.Runnable

    Known Indirect Subclasses(已知间接子类)

    AnimationDrawable

    An object used to create frame-by-frame animations, defined by a series of Drawable objects, which can be used as a View object's background.

    一个常常创建被一系列Drawable对象定义的帧动画对象, 它能被用来作为一个视图对象的背景。

    CookieSyncManager

    The CookieSyncManager is used to synchronize the browser cookie store between RAM and permanent storage.

    CookieSyncManager常常同步浏览器储存在随机存储器和永久存储器之间的cookie。

    FutureTask<V>

    A cancellable asynchronous computation.

    一个可删除的异步计算。

    HandlerThread

    Handy class for starting a new thread that has a looper.

    开始一个有looper的新线程的便利类。

    RefQueueWorker

    A worker thread for processing queued references.

    一个处理队列引用的worker线程。

    RenderScript.RSErrorHandler

    Runtime error base class.

    运行时错误基类。

    RenderScript.RSMessageHandler

    Base class application should derive from for handling RS messages coming from their scripts.

    RunnableFuture<V>

    A Future that is Runnable.

    RunnableScheduledFuture<V>

    A ScheduledFuture that is Runnable.

    Thread

    A Thread is a concurrent unit of execution.

    线程是一个同时执行单元。

    TimerTask

    The TimerTask class represents a task to run at a specified time.

    TimerTask类代表一个运行在指定时间的任务。

    Class Overview(类概述)

    Represents a command that can be executed. Often used to run code in a different Thread.

    代表一个可以执行的命令。常用于在一个不同的线程的运行代码。

    Summary(摘要)

    Public Methods(公共方法)

    abstract void

    run()

     

    Starts executing the active part of the class' code.

    开始执行类的代码的active部分。

    Public Methods(公共方法)

    public abstract void run ()

    Starts executing the active part of the class' code. This method is called when a thread is started that has been created with a class which implements Runnable.

    开始执行类的代码的active部分。当一个实现了Runnable接口的类被创建其线程开始时,这个方法被调用。

       

  • 相关阅读:
    回车执行函数
    ajax短信验证码-mvc
    css3背景及字体渐变
    MVC3-表单
    Layout布局
    【leetcode】两数之和
    C语言如何开发简单的插件
    Google Supersonic列存储查询库的介绍、安装、测试
    vm网络设置
    centos升级支持到C++11, gcc4.8.2
  • 原文地址:https://www.cnblogs.com/renqingping/p/Runnable.html
Copyright © 2011-2022 走看看