* 与另一个位集合执行按位或操作 * @param other 另一个位集合 * @returns 新的位集合,包含按位或的结果
(other: Bits)
| 129 | * @returns 新的位集合,包含按位或的结果 |
| 130 | */ |
| 131 | public or(other: Bits): Bits { |
| 132 | const result = new Bits(); |
| 133 | BitMask64Utils.copy(this._value, result._value); |
| 134 | BitMask64Utils.orInPlace(result._value, other._value); |
| 135 | return result; |
| 136 | } |
| 137 | |
| 138 | /** |
| 139 | * 与另一个位集合执行按位异或操作 |
no test coverage detected