Set a boolean BitField @param holder the int data containing the bits we're interested in @param flag indicating whether to set or clear the bits @return the value of holder with the specified bits set or cleared
(final int holder, final boolean flag)
| 284 | */ |
| 285 | |
| 286 | public int setBoolean(final int holder, final boolean flag) |
| 287 | { |
| 288 | return flag ? set(holder) |
| 289 | : clear(holder); |
| 290 | } |
| 291 | |
| 292 | /** |
| 293 | * Set a boolean BitField |