resetBit static method

int resetBit(
  1. int value,
  2. int bitNum
)

Reset the specified bit.

Implementation

static int resetBit(int value, int bitNum) {
  return value & ~(1 << bitNum);
}