|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.exolab.jms.messagemgr.Flag
Implementation of the Condition
interface that behaves as a
synchronized, mutable boolean.
Constructor Summary | |
Flag(boolean set)
Construct a new Flag . |
Method Summary | |
boolean |
get()
Returns the state of the flag. |
void |
set(boolean value)
Sets the state of the flag. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Flag(boolean set)
Flag
.set
- determines if the flag is setMethod Detail |
public boolean get()
get
in interface Condition
true
if the flag is set, otherwise
false
public void set(boolean value)
value
- the state of the flag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |