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
Stores a Universally Unique Identifier (UUID)
Java wrapper for Qt's class QUuid
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QUuid::StringFormatstatic enum
Java wrapper for Qt enum QUuid::Variantstatic enum
Java wrapper for Qt enum QUuid::VersionNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQUuid()
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) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
int
static QUuid
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) final int
data1()
final short
data2()
final short
data3()
final byte[]
data4()
boolean
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
(byte[] data) static QUuid
fromRfc4122
(QByteArray data) static QUuid
fromRfc4122
(QByteArrayView arg__1) static QUuid
fromRfc4122
(String data) static QUuid
fromRfc4122
(ByteBuffer data) static QUuid
fromString
(String string) int
hashCode()
final boolean
isNull()
void
readFrom
(QDataStream arg__1) final void
setData1
(int data1) final void
setData2
(short data2) final void
setData3
(short data3) final void
setData4
(byte[] data4) final QByteArray
Overloaded function fortoByteArray(io.qt.core.QUuid.StringFormat)
withmode = io.qt.core.QUuid.StringFormat.WithBraces
.final QByteArray
final QByteArray
final String
toString()
Overloaded function fortoString(io.qt.core.QUuid.StringFormat)
withmode = io.qt.core.QUuid.StringFormat.WithBraces
.final String
toString
(QUuid.StringFormat mode) final QUuid.Variant
variant()
final QUuid.Version
version()
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QUuid
public QUuid()See QUuid::QUuid()
-
QUuid
-
QUuid
public QUuid(int l, short w1, short w2, byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7, byte b8) -
QUuid
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
isNull
-
writeTo
-
readFrom
-
toByteArray
Overloaded function for
toByteArray(io.qt.core.QUuid.StringFormat)
withmode = io.qt.core.QUuid.StringFormat.WithBraces
. -
toByteArray
-
toRfc4122
-
toString
Overloaded function for
toString(io.qt.core.QUuid.StringFormat)
withmode = io.qt.core.QUuid.StringFormat.WithBraces
. -
toString
-
variant
-
version
-
createUuid
-
createUuidV3
-
createUuidV3
-
createUuidV5
-
createUuidV5
-
fromRfc4122
-
fromString
-
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
-
fromRfc4122
-
fromRfc4122
-
fromRfc4122
-
fromRfc4122
-
clone
-