原创 java 中如何快速統計一個int數轉二進制數中1的個數

        /** * 統計一個(int)數二進制數1的個數 * @param tag * @return */ public static int countIntToBinaryOfOne(int tag){