Tests whether the field is set or not. This is most commonly used for a single-bit field, which is often used to represent a boolean value; the results of using it for a multi-bit field is to determine whether any of its bits are set. @param holder the int data containing the bits
(final int holder)
| 253 | * @return {@code true} if any of the bits are set, else {@code false} |
| 254 | */ |
| 255 | public boolean isSet(final int holder) { |
| 256 | return (holder & mask) != 0; |
| 257 | } |
| 258 | |
| 259 | /** |
| 260 | * Tests whether the field is set or not. |
no outgoing calls