|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QMutex.RecursionMode>
com.trolltech.qt.core.QMutex.RecursionMode
public static enum QMutex.RecursionMode
Press link for info on QMutex.RecursionMode
Enum Constant Summary | |
---|---|
NonRecursive
In this mode, a thread may only lock a mutex once. |
|
Recursive
In this mode, a thread can lock the same mutex multiple times and the mutex won't be unlocked until a corresponding number of unlock calls have been made. |
Method Summary | |
---|---|
static QMutex.RecursionMode |
resolve(int value)
|
int |
value()
|
static QMutex.RecursionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QMutex.RecursionMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QMutex.RecursionMode NonRecursive
In this mode, a thread may only lock a mutex once.
public static final QMutex.RecursionMode Recursive
In this mode, a thread can lock the same mutex multiple times and the mutex won't be unlocked until a corresponding number of unlock calls have been made.
Method Detail |
---|
public static final QMutex.RecursionMode[] values()
for(QMutex.RecursionMode c : QMutex.RecursionMode.values()) System.out.println(c);
public static QMutex.RecursionMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int value()
value
in interface QtEnumerator
public static QMutex.RecursionMode resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |