代码片段
就不告诉你问也白问
Java编程
展开
-
【线程数据队列操作】
import java.util.concurrent.LinkedBlockingQueue; import java.util.logging.Level; import java.util.logging.Logger; /** * Created: Apr 21, 2009 9:02:57 PM * * @author <a href="mailto:artur.hefczyc@tigase.org">Artur Hefczyc</a> * @version $..原创 2022-04-08 10:34:30 · 45 阅读 · 0 评论 -
【获取操作系统名称】
//获取操作系统名称 public class OSUtils { public enum OS { windows, linux, sunos, solaris, mac, unix, other; } public static OS getOSType() { String osName = System.getProperty("os.name").toLowerCase(); for (OS os : OS.values()) { if (os.原创 2022-04-08 10:12:40 · 563 阅读 · 0 评论