|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mit.csail.sdg.alloy4.Util.BooleanPref
public static final class Util.BooleanPref
This reads and writes boolean-valued Java persistent preferences.
Thread Safety: Safe.
| Constructor Summary | |
|---|---|
Util.BooleanPref(java.lang.String id)
Constructurs a new BooleanPref object with the given id. |
|
| Method Summary | |
|---|---|
boolean |
get()
Reads the value for this preference; if not set, we return false. |
void |
set(boolean value)
Sets the value for this preference. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Util.BooleanPref(java.lang.String id)
| Method Detail |
|---|
public void set(boolean value)
public boolean get()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||