- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QUuid>
- Direct Known Subclasses:
QBluetoothUuid
Stores a Universally Unique Identifier (UUID)
Java wrapper for Qt class QUuid
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Java wrapper for Qt classQUuid::Id128Bytes
static enum
Java wrapper for Qt enumQUuid::StringFormat
static enum
Java wrapper for Qt enumQUuid::Variant
static enum
Java wrapper for Qt enumQUuid::Version
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionQUuid()
SeeQUuid::
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
(QUuid.Id128Bytes id128) Overloaded constructor forQUuid(io.qt.core.QUuid.Id128Bytes, io.qt.core.QSysInfo.Endian)
withorder = io.qt.core.QSysInfo.Endian.BigEndian
.QUuid
(QUuid.Id128Bytes id128, QSysInfo.Endian order) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.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()
SeeQUuid::
data1 final short
data2()
SeeQUuid::
data2 final short
data3()
SeeQUuid::
data3 final byte[]
data4()
SeeQUuid::
data4 boolean
static QUuid
fromBytes
(QUuid.Id128Bytes bytes) Overloaded function forfromBytes(io.qt.core.QUuid.Id128Bytes, io.qt.core.QSysInfo.Endian)
withorder = io.qt.core.QSysInfo.Endian.BigEndian
.static QUuid
fromBytes
(QUuid.Id128Bytes bytes, QSysInfo.Endian order) static QUuid
fromRfc4122
(byte [] arg__1) Overloaded function forfromRfc4122(io.qt.core.QByteArrayView)
.static QUuid
fromRfc4122
(QByteArray arg__1) Overloaded function forfromRfc4122(io.qt.core.QByteArrayView)
.static QUuid
fromRfc4122
(QByteArrayView arg__1) static QUuid
fromRfc4122
(String arg__1) Overloaded function forfromRfc4122(io.qt.core.QByteArrayView)
.static QUuid
fromRfc4122
(ByteBuffer arg__1) Overloaded function forfromRfc4122(io.qt.core.QByteArrayView)
.static QUuid
fromString
(String string) final int
getData1()
Kotlin property getter.final short
getData2()
Kotlin property getter.final short
getData3()
Kotlin property getter.final byte[]
getData4()
Kotlin property getter.int
hashCode()
Returns the objects's hash code computed byqHash(QUuid)
.final boolean
isNull()
void
readFrom
(QDataStream arg__1) final void
setData1
(int data1) SeeQUuid::
data1 final void
setData2
(short data2) SeeQUuid::
data2 final void
setData3
(short data3) SeeQUuid::
data3 final void
setData4
(byte[] data4) SeeQUuid::
data4 final QByteArray
Overloaded function fortoByteArray(io.qt.core.QUuid.StringFormat)
withmode = io.qt.core.QUuid.StringFormat.WithBraces
.final QByteArray
final QUuid.Id128Bytes
toBytes()
Overloaded function fortoBytes(io.qt.core.QSysInfo.Endian)
withorder = io.qt.core.QSysInfo.Endian.BigEndian
.final QUuid.Id128Bytes
toBytes
(QSysInfo.Endian order) 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) Seeoperator<<(QDataStream&,
QUuid) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QUuid
public QUuid()See
QUuid::
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
Overloaded constructor for
QUuid(io.qt.core.QUuid.Id128Bytes, io.qt.core.QSysInfo.Endian)
withorder = io.qt.core.QSysInfo.Endian.BigEndian
.
-
-
Method Details
-
isNull
-
writeTo
See
operator<<(QDataStream&,
QUuid) -
readFrom
-
toByteArray
-
toBytes
-
toRfc4122
-
toString
-
variant
-
version
-
createUuid
-
createUuidV3
-
createUuidV3
-
createUuidV5
-
createUuidV5
-
fromBytes
-
fromRfc4122
-
fromString
-
setData1
See
QUuid::
data1 -
data1
See
QUuid::
data1 -
setData2
See
QUuid::
data2 -
data2
See
QUuid::
data2 -
setData3
See
QUuid::
data3 -
data3
See
QUuid::
data3 -
setData4
See
QUuid::
data4 -
data4
See
QUuid::
data4 -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QUuid>
-
hashCode
Returns the objects's hash code computed byqHash(QUuid)
. -
clone
Creates and returns a copy of this object.
-
toByteArray
Overloaded function for
toByteArray(io.qt.core.QUuid.StringFormat)
withmode = io.qt.core.QUuid.StringFormat.WithBraces
. -
toBytes
Overloaded function for
toBytes(io.qt.core.QSysInfo.Endian)
withorder = io.qt.core.QSysInfo.Endian.BigEndian
. -
toString
Overloaded function for
toString(io.qt.core.QUuid.StringFormat)
withmode = io.qt.core.QUuid.StringFormat.WithBraces
. -
fromBytes
Overloaded function for
fromBytes(io.qt.core.QUuid.Id128Bytes, io.qt.core.QSysInfo.Endian)
withorder = io.qt.core.QSysInfo.Endian.BigEndian
. -
fromRfc4122
Overloaded function for
fromRfc4122(io.qt.core.QByteArrayView)
. -
fromRfc4122
Overloaded function for
fromRfc4122(io.qt.core.QByteArrayView)
. -
fromRfc4122
Overloaded function for
fromRfc4122(io.qt.core.QByteArrayView)
. -
fromRfc4122
Overloaded function for
fromRfc4122(io.qt.core.QByteArrayView)
. -
getData1
Kotlin property getter. In Java use
data1()
instead. -
getData2
Kotlin property getter. In Java use
data2()
instead. -
getData3
Kotlin property getter. In Java use
data3()
instead. -
getData4
Kotlin property getter. In Java use
data4()
instead.
-