java.lang.Object
io.qt.QtObject
io.qt.core.QUuid.Id128Bytes
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QUuid
Java wrapper for Qt class QUuid::Id128Bytes
-
Constructor Summary
ConstructorDescriptionSeeQUuid::Id128Bytes::
Id128Bytes() Id128Bytes
(byte... data) Create instance from set of bytes.Id128Bytes
(int... data) Create instance from set of int values.Id128Bytes
(long... data) Create instance from set of long values.Id128Bytes
(short... data) Create instance from set of short values. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final byte[]
data()
SeeQUuid::Id128Bytes::
data final short[]
data16()
SeeQUuid::Id128Bytes::
data16 final int[]
data32()
SeeQUuid::Id128Bytes::
data32 final long[]
data64()
SeeQUuid::Id128Bytes::
data64 final boolean
Seeoperator==(QUuid::Id128Bytes,
QUuid::Id128Bytes) boolean
Seeoperator==(QUuid::Id128Bytes,
QUuid::Id128Bytes) int
hashCode()
Returns the objects's hash code computed byqHash(QUuid::Id128Bytes)
.static QUuid.Id128Bytes
of
(byte... data) Create instance from set of bytes.static QUuid.Id128Bytes
of
(int... data) Create instance from set of int values.static QUuid.Id128Bytes
of
(long... data) Create instance from set of long values.static QUuid.Id128Bytes
of
(short... data) Create instance from set of short values.final void
setData
(byte[] data) SeeQUuid::Id128Bytes::
data final void
setData16
(short[] data16) SeeQUuid::Id128Bytes::
data16 final void
setData32
(int[] data32) SeeQUuid::Id128Bytes::
data32 final void
setData64
(long[] data64) SeeQUuid::Id128Bytes::
data64 final QByteArrayView
SeeQUuid::Id128Bytes::
operator QByteArrayView()const Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
Id128Bytes
public Id128Bytes()See
QUuid::Id128Bytes::
Id128Bytes() -
Id128Bytes
Create instance from set of bytes.- Parameters:
data
-- Throws:
IllegalArgumentException
- if number of bytes is not 16
-
Id128Bytes
Create instance from set of short values.- Parameters:
data
-- Throws:
IllegalArgumentException
- if number of short values is not 8
-
Id128Bytes
Create instance from set of int values.- Parameters:
data
-- Throws:
IllegalArgumentException
- if number of int values is not 4
-
Id128Bytes
Create instance from set of long values.- Parameters:
data
-- Throws:
IllegalArgumentException
- if number of long values is not 2
-
-
Method Details
-
toByteArrayView
See
QUuid::Id128Bytes::
operator QByteArrayView()const -
equals
See
operator==(QUuid::Id128Bytes,
QUuid::Id128Bytes) -
setData
See
QUuid::Id128Bytes::
data -
data
See
QUuid::Id128Bytes::
data -
setData16
See
QUuid::Id128Bytes::
data16 -
data16
See
QUuid::Id128Bytes::
data16 -
setData32
See
QUuid::Id128Bytes::
data32 -
data32
See
QUuid::Id128Bytes::
data32 -
setData64
See
QUuid::Id128Bytes::
data64 -
data64
See
QUuid::Id128Bytes::
data64 -
equals
See
operator==(QUuid::Id128Bytes,
QUuid::Id128Bytes) -
hashCode
Returns the objects's hash code computed byqHash(QUuid::Id128Bytes)
. -
of
Create instance from set of bytes.- Parameters:
data
-- Throws:
IllegalArgumentException
- if number of bytes is not 16
-
of
Create instance from set of short values.- Parameters:
data
-- Throws:
IllegalArgumentException
- if number of short values is not 8
-
of
Create instance from set of int values.- Parameters:
data
-- Throws:
IllegalArgumentException
- if number of int values is not 4
-
of
Create instance from set of long values.- Parameters:
data
-- Throws:
IllegalArgumentException
- if number of long values is not 2
-
clone
Creates and returns a copy of this object.
-