java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QUuid
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QUuid>
- Direct Known Subclasses:
QBluetoothUuid
public class QUuid extends QtObject implements Comparable<QUuid>, Cloneable
Stores a Universally Unique Identifier (UUID)
Java wrapper for Qt class QUuid
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QUuid.StringFormat
Java wrapper for Qt enum QUuid::StringFormatstatic class
QUuid.Variant
Java wrapper for Qt enum QUuid::Variantstatic class
QUuid.Version
Java wrapper for Qt enum QUuid::Version -
Constructor Summary
Constructors Modifier Constructor Description QUuid()
See QUuid::QUuid()QUuid(int l, short w1, short w2, byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7, byte b8)
QUuid(QByteArray arg__1)
protected
QUuid(QtObject.QPrivateConstructor p)
Constructor for internal use only.QUuid(String arg__1)
-
Method Summary
Modifier and Type Method Description QUuid
clone()
int
compareTo(QUuid other)
static QUuid
createUuid()
static QUuid
createUuidV3(QUuid ns, QByteArray baseData)
static QUuid
createUuidV3(QUuid ns, String baseData)
static QUuid
createUuidV5(QUuid ns, QByteArray baseData)
static QUuid
createUuidV5(QUuid ns, String baseData)
int
data1()
short
data2()
short
data3()
byte[]
data4()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.static QUuid
fromRfc4122(QByteArray arg__1)
int
hashCode()
boolean
isNull()
void
readFrom(QDataStream arg__1)
void
setData1(int data1)
void
setData2(short data2)
void
setData3(short data3)
void
setData4(byte[] data4)
QByteArray
toByteArray()
QByteArray
toByteArray(QUuid.StringFormat mode)
QByteArray
toRfc4122()
String
toString()
String
toString(QUuid.StringFormat mode)
QUuid.Variant
variant()
QUuid.Version
version()
void
writeTo(QDataStream arg__1)
-
Constructor Details
-
Method Details
-
isNull
-
writeTo
-
readFrom
-
toByteArray
-
toByteArray
-
toRfc4122
-
toString
-
toString
-
variant
-
version
-
createUuid
-
createUuidV3
-
createUuidV3
-
createUuidV5
-
createUuidV5
-
fromRfc4122
-
setData1
-
data1
-
setData2
-
data2
-
setData3
-
data3
-
setData4
-
data4
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
compareTo
- Specified by:
compareTo
in interfaceComparable<QUuid>
-
hashCode
-
clone
-