搜索资源列表
JBuilder制作音频播放程序(2)
- JBuilder制作音频播放程序,需要注意的是,当播放时,界面上的各个按钮应当仍然可以对用户的操作进行事件响应,所以至少需要两个线程:一个控制歌曲的播放,另外一个对用户事件进行响应。因此我们的AudioPlay类需要实现Runable接口,以使用多线程技术。根据JDK的解释-JDK1.4.0,任何需要由线程执行的实例都应当实现Runable接口,而且由于我们只需要重写run()方法和stop()方法,并给start()方法多态化,所以我们选择实现Runable接口,这样就可以不需要继承Threa
ThreadPool2
- 一个简单实用的线程池 java写的一个线程池-a simple ,applied thread pool a thread pool written by java
fy
- 基于RMI的学生成绩管理程序,实现了线程,事件模型.-based RMI student performance management process to achieve a thread, event model.
例7.03 线程sleep
- 线程sleep对初学者是一个较好的工具-thread sleep for beginners is a good tool!
BallThread
- 通过继承Thread类使Ball类线程化。并把小球的弹跳动作放进Run()中执行 -through inheritance Thread Ball category so that the threaded category. And the bouncing ball moves into the Run () implementation
smsbean
- smsbean短信平台 系统内部全部采用事件激发方式,所有工作线程都是由事件驱动模式,这样保证系统最大工作和效率在数据处理层和网关数据的传输调度上是采用异步,并行的处理模式,在最大程度上减 少IO操作对工作线程的影响,同时对数据库的采用批处理的模式,最大限度减少对数据库的IO操作。-smsbean SMS platform within the system to stimulate the use of the incident, all threads are event-driven
thread_test
- JAVA线程表现方式,通过多图表现线程的运行原理,以及不同算法的优缺点及速度情况,-Java thread performance, multi-threaded performance plans principle of operation, and the advantages and disadvantages of different algorithms and speed,
threadCtrl
- 线程控制,演示了对线程的启动、休眠、中断休眠、等待、唤醒等操作 。 -thread control, presentation of the threads start dormancy breaking dormancy, waiting, and awaken operational.
ThreadTestsAllInOne
- \"多线程的例子\"包括了多线程的各个方面,都是教学中积累的经典例子与实际应用的例子:同步、睡眠、 挂起、唤醒、优先级、线程组,线程与Swing……(另附相关技术文档) 使用方法:因为开发工具为eclipse3.1,所以这些工程文件都可以直接导入。-"multithreading example" will include multithreading in all aspects, Teaching is a classic example of accumu
java_network_code_examples
- 简单清晰具有启发性的实例。 Net1和Client1类实现了TCP的简单应用。 Udp和Udpwatch类实现了UDP的简单应用。 Chater是一个聊天小工具,综合运用了TCP,UDP,IO,GUI,Thread等技术。对初学者很有启发性。-clear and simple instructive examples. Net1 and Client1 category achieved a simple TCP application. Udp Udpwatch category
Thread
- 线程练习,线程同步问题,生产者消费者问题。-Thread exercises, thread synchronization problems, producers and consumers.
thread
- 简单的对于线程的理解和测试线程的使用测试-Simple to understand and test the thread of the thread using the test
Java-thread--introduction
- Java线程池的几种实现方法和区别介绍 使用:LinkedBlockingQueue实现线程池讲解-Java thread pool of several ways to achieve the implementation of the method and the introduction
Thread
- 采用多线程Thread构造一个服务器端和多个客户端的通信-Multithreading Thread communication using a configuration server and multiple clients
thread
- java面试线程相关的源码 消费者模型 死锁 和一些常用的实验-the use of thread in java which will be useful in a interview
THread
- AVA多线程实现方式主要有三种:继承Thread类、实现Runnable接口、使用ExecutorService、Callable、Future实现有返回结果的多线程。-There are three ways to implement AVA multithreading: inheritance Thread class, the realization of the Runnable interface, using ExecutorService, Callable, Future to
Thread
- java thread ,源码介绍了java多线程及线程并发机制,线程锁等。-java thread
thread
- 创建大小为1的固定线程池,同时执行任务(task)的只有一个,其它的(任务)task都放在LinkedBlockingQueue中排队等待执行。(Create a fixed thread pool of size 1, while only one task (task) is executed, and the other tasks (task) are queued in LinkedBlockingQueue for execution.)
thread
- Android移动应用开发,长时间工作另启一个线程(Android mobile application development, long time work and another thread)