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