获取CPU合数

        //获取CPU合数
        System.out.println(Runtime.getRuntime().availableProcessors());
原文地址:https://www.cnblogs.com/rzkwz/p/12704271.html