方法变体

if (rate % Magic.INT_ER == 0) {
    isOdd = false;
} else {
    isOdd = true;
}

isOdd = rate % Magic.INT_ER != 0;

猜你喜欢

转载自blog.csdn.net/zsp_android_com/article/details/80594937