java.lang.Object
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 class QUuid
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic 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
ConstructorsConstructorDescriptionQUuid()
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) -
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
fromRfc4122
(byte[] data) static QUuid
fromRfc4122
(QByteArrayView arg__1) static QUuid
fromRfc4122
(QByteArray data) static QUuid
fromRfc4122
(String data) static QUuid
fromRfc4122
(ByteBuffer data) 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 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
public QUuid(int l, short w1, short w2, byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7, byte b8)
-
-
Method Details
-
isNull
-
writeTo
See
operator<<(QDataStream&,
QUuid) -
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
See
QUuid::
data1 -
getData1
Kotlin property getter. In Java use
data1()
instead. -
data1
See
QUuid::
data1 -
setData2
See
QUuid::
data2 -
getData2
Kotlin property getter. In Java use
data2()
instead. -
data2
See
QUuid::
data2 -
setData3
See
QUuid::
data3 -
getData3
Kotlin property getter. In Java use
data3()
instead. -
data3
See
QUuid::
data3 -
setData4
See
QUuid::
data4 -
getData4
Kotlin property getter. In Java use
data4()
instead. -
data4
See
QUuid::
data4 -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QUuid>
-
hashCode
Returns the objects's hash code computed byqHash(QUuid)
. -
fromRfc4122
-
fromRfc4122
-
fromRfc4122
-
fromRfc4122
-
clone
Creates and returns a copy of this object.
-