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接口的类被创建其线程开始时,这个方法被调用。

       

  • 相关阅读:
    using vb.net export a datatable to Excel and save as file
    selection sort with objective c
    stdin和STDIN_FILENO的区别
    stdin和STDIN_FILENO的区别
    linux系统kbhit的几种实现
    成为掌握企业聘用趋势的人才
    linux系统kbhit的几种实现
    c_lflag中ICANON的作用
    常量字符串的问题
    mmsbitfields gcc和vc关于位域那点事
  • 原文地址:https://www.cnblogs.com/renqingping/p/Runnable.html
Copyright © 2011-2022 走看看