public class Flags extends Object
The Flag object allows you to store and access 32 distinct flags
| Constructor and Description |
|---|
Flags()
create an empty Flag object
|
Flags(int f)
create a Flag object with the given value
|
| Modifier and Type | Method and Description |
|---|---|
void |
copyFlags(Flags f)
copy FROM the f object
|
boolean |
get(int flag)
get the value of flag
|
int |
getAll()
get all the 32 flags variable in one operation
|
static void |
internal_test()
internal test.
|
void |
set(int f,
boolean set)
set the flag flag to set
|
protected void |
setAll(int f)
set the 32-bit flags variable in one operation
|
public Flags(int f)
public Flags()
protected void setAll(int f)
public int getAll()
public void copyFlags(Flags f)
public void set(int f,
boolean set)
public boolean get(int flag)
public static void internal_test()
This file is a part of the JDD package, a native Java Binary Decision Diagram Library.