public class FlagSupport
extends java.lang.Object
int
.Constructor and Description |
---|
FlagSupport() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
getFlag(int flag)
Returns
true the flag (or one of the flags) indicated by the
given bitmask is set to true. |
protected void |
setFlag(int flag,
boolean value)
Sets the flag (or all of the flags) indicated by the given bitmask to the
given value.
|
protected boolean getFlag(int flag)
true
the flag (or one of the flags) indicated by the
given bitmask is set to true.flag
- the bitmask of a flag or flagstrue
if one of the flags is trueprotected void setFlag(int flag, boolean value)
flag
- the bitmask of the flag or flagsvalue
- the new valueCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.