⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 utility.java

📁 Java多线程例子 为你提供一个JAVA多线程的实例
💻 JAVA
字号:
/*
 * Created on 2005-9-2
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.apollo.thread.example;

public class Utility {

	private Utility() {
	}
	
	private static NodeList nodeList = null;
	private static ThreadPool threadPool = null;
	
	public static void setNodeList(NodeList list){
		nodeList = list;
	}
	
	public static NodeList getNodeList(){
		return nodeList;
	}
	
	public static void setThreadPool(ThreadPool pool){
		threadPool = pool;
	}
	
	public static ThreadPool getThreadPool(){
		return threadPool;
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -