- 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 enum
Java wrapper for Qt enumQUuid::StringFormat
static enum
Java wrapper for Qt enumQUuid::Variant
static enum
Java wrapper for Qt enumQUuid::Version
-
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) SeeQUuid::
QUuid(QUuid) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.int
static QUuid
static QUuid
createUuidV3
(QUuid ns, byte [] baseData) Overloaded function forcreateUuidV3(io.qt.core.QUuid, io.qt.core.QByteArray)
.static QUuid
createUuidV3
(QUuid ns, QByteArray baseData) static QUuid
createUuidV3
(QUuid ns, String baseData) static QUuid
createUuidV5
(QUuid ns, byte [] baseData) Overloaded function forcreateUuidV5(io.qt.core.QUuid, io.qt.core.QByteArray)
.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 final boolean
boolean
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) 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
- Parameters:
string
-
-
QUuid
See
QUuid::
QUuid(QUuid) - Parameters:
other
-
-
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) - Parameters:
l
-w1
-w2
-b1
-b2
-b3
-b4
-b5
-b6
-b7
-b8
-
-
-
Method Details
-
isNull
- Returns:
-
writeTo
See
operator<<(QDataStream&,
QUuid) - Parameters:
arg__1
-
-
equals
- Parameters:
orig
-- Returns:
-
readFrom
- Parameters:
arg__1
-
-
toByteArray
- Parameters:
mode
-- Returns:
-
toRfc4122
- Returns:
-
toString
- Parameters:
mode
-- Returns:
-
variant
- Returns:
-
version
- Returns:
-
createUuid
- Returns:
-
createUuidV3
- Parameters:
ns
-baseData
-- Returns:
-
createUuidV3
- Parameters:
ns
-baseData
-- Returns:
-
createUuidV5
- Parameters:
ns
-baseData
-- Returns:
-
createUuidV5
- Parameters:
ns
-baseData
-- Returns:
-
fromRfc4122
- Parameters:
arg__1
-- Returns:
-
fromString
- Parameters:
string
-- Returns:
-
setData1
See
QUuid::
data1 - Parameters:
data1
-
-
data1
See
QUuid::
data1 - Returns:
-
setData2
See
QUuid::
data2 - Parameters:
data2
-
-
data2
See
QUuid::
data2 - Returns:
-
setData3
See
QUuid::
data3 - Parameters:
data3
-
-
data3
See
QUuid::
data3 - Returns:
-
setData4
See
QUuid::
data4 - Parameters:
data4
-
-
data4
See
QUuid::
data4 - Returns:
-
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.
See
QUuid::
QUuid(QUuid) -
toByteArray
Overloaded function for
toByteArray(io.qt.core.QUuid.StringFormat)
withmode = io.qt.core.QUuid.StringFormat.WithBraces
. -
toString
Overloaded function for
toString(io.qt.core.QUuid.StringFormat)
withmode = io.qt.core.QUuid.StringFormat.WithBraces
. -
createUuidV3
Overloaded function for
createUuidV3(io.qt.core.QUuid, io.qt.core.QByteArray)
. -
createUuidV5
Overloaded function for
createUuidV5(io.qt.core.QUuid, io.qt.core.QByteArray)
. -
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)
.
-