|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QUuid.Version>
com.trolltech.qt.core.QUuid.Version
public static enum QUuid.Version
This enum defines the version of the UUID.
Enum Constant Summary | |
---|---|
EmbeddedPOSIX
DCE Security version, with embedded POSIX UUIDs |
|
Name
Name-based, by using values from a name for all sections |
|
Random
Random-based, by using random numbers for all sections |
|
Time
Time-based, by using timestamp, clock sequence, and MAC network card address (if available) for the node sections |
|
VerUnknown
Version is unknown |
Method Summary | |
---|---|
static QUuid.Version |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QUuid.Version |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QUuid.Version[] |
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 QUuid.Version VerUnknown
Version is unknown
public static final QUuid.Version Time
Time-based, by using timestamp, clock sequence, and MAC network card address (if available) for the node sections
public static final QUuid.Version EmbeddedPOSIX
DCE Security version, with embedded POSIX UUIDs
public static final QUuid.Version Name
Name-based, by using values from a name for all sections
public static final QUuid.Version Random
Random-based, by using random numbers for all sections
Method Detail |
---|
public static final QUuid.Version[] values()
for(QUuid.Version c : QUuid.Version.values()) System.out.println(c);
public static QUuid.Version 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()
QtEnumerator
value
in interface QtEnumerator
public static QUuid.Version resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |