setBits static method

int setBits(
  1. int value,
  2. int bitMask
)

Set the specified bits.

Implementation

static int setBits(int value, int bitMask) {
  return value | bitMask;
}