|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.pdfview.Flag
public class Flag
A generic synchronized flag, because Java doesn't have one.
| Constructor Summary | |
|---|---|
Flag()
|
|
| Method Summary | |
|---|---|
void |
clear()
Clears the flag. |
void |
interruptibleWaitForFlag()
Waits for the flag to be set, if it is not set already. |
void |
set()
Sets the flag. |
void |
waitForFlag()
Waits for the flag to be set, if it is not set already. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Flag()
| Method Detail |
|---|
public void set()
public void clear()
public void waitForFlag()
public void interruptibleWaitForFlag()
throws java.lang.InterruptedException
java.lang.InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||