标签:个数 public style ESS color [] cpu time() processor
1 public class Test { 2 3 public static void main(String[] args) { 4 //获取当前设备的CPU个数 5 int availableProcessors = Runtime.getRuntime().availableProcessors(); 6 System.out.println(availableProcessors); 7 } 8 }
标签:个数 public style ESS color [] cpu time() processor
原文地址:https://www.cnblogs.com/wang1001/p/9603862.html