@Contract(pure = true)
  public static int set(int value, int mask, boolean setBit) {
    assertOneBitMask(mask);
    return setBit ? value | mask : value & ~mask;
  }
@Contract(pure = true)
  public static int set(int value, int mask, boolean setBit)