public interface BitFlag
Modifier and Type | Method and Description |
---|---|
BitMask |
clearIn(BitMask mask)
Clear this flag in the given bit mask.
|
boolean |
isSetIn(BitMask mask)
Is this flag set in the given mask?
|
BitMask |
setIn(BitMask mask)
Set this flag in the given bit mask.
|
boolean isSetIn(@NotNull BitMask mask)
mask
- bit masktrue
: if the flag is setfalse
: if the flag is not set@NotNull BitMask setIn(@NotNull BitMask mask)
mask
- bit mask