All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.core.QUuid Maven / Gradle / Ivy

There is a newer version: 6.8.1
Show newest version
package io.qt.core;

import io.qt.*;


/**
 * 

Stores a Universally Unique Identifier (UUID)

*

Java wrapper for Qt class QUuid

*/ public class QUuid extends QtObject implements java.lang.Comparable, java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

Java wrapper for Qt enum QUuid::StringFormat

*/ public enum StringFormat implements QtEnumerator { /** *

Representing QUuid::WithBraces

*/ WithBraces(0), /** *

Representing QUuid::WithoutBraces

*/ WithoutBraces(1), /** *

Representing QUuid::Id128

*/ Id128(3); static { QtJambi_LibraryUtilities.initialize(); } private StringFormat(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull StringFormat resolve(int value) { switch (value) { case 0: return WithBraces; case 1: return WithoutBraces; case 3: return Id128; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QUuid::Variant

*/ public enum Variant implements QtEnumerator { /** *

Representing QUuid::VarUnknown

*/ VarUnknown(-1), /** *

Representing QUuid::NCS

*/ NCS(0), /** *

Representing QUuid::DCE

*/ DCE(2), /** *

Representing QUuid::Microsoft

*/ Microsoft(6), /** *

Representing QUuid::Reserved

*/ Reserved(7); static { QtJambi_LibraryUtilities.initialize(); } private Variant(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull Variant resolve(int value) { switch (value) { case -1: return VarUnknown; case 0: return NCS; case 2: return DCE; case 6: return Microsoft; case 7: return Reserved; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QUuid::Version

*/ @QtRejectedEntries({"Name"}) public enum Version implements QtEnumerator { /** *

Representing QUuid::VerUnknown

*/ VerUnknown(-1), /** *

Representing QUuid::Time

*/ Time(1), /** *

Representing QUuid::EmbeddedPOSIX

*/ EmbeddedPOSIX(2), /** *

Representing QUuid::Md5

*/ Md5(3), /** *

Representing QUuid::Name

*/ Name(3), /** *

Representing QUuid::Random

*/ Random(4), /** *

Representing QUuid::Sha1

*/ Sha1(5); static { QtJambi_LibraryUtilities.initialize(); } private Version(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull Version resolve(int value) { switch (value) { case -1: return VerUnknown; case 1: return Time; case 2: return EmbeddedPOSIX; case 3: return Md5; case 4: return Random; case 5: return Sha1; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt class QUuid::Id128Bytes

* @since This class was introduced in Qt 6.6. */ public static final class Id128Bytes extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QUuid::Id128Bytes::Id128Bytes()

*/ public Id128Bytes(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(Id128Bytes instance); /** *

See QUuid::Id128Bytes::Id128Bytes(QUuid::Id128Bytes)

* @param other */ public Id128Bytes(io.qt.core.QUuid.@NonNull Id128Bytes other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(Id128Bytes instance, io.qt.core.QUuid.Id128Bytes other); /** *

See QUuid::Id128Bytes::operator QByteArrayView()const

* @return */ @QtUninvokable public final io.qt.core.@NonNull QByteArrayView toByteArrayView(){ return toByteArrayView_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QByteArrayView toByteArrayView_native_constfct(long __this__nativeId); /** *

See operator==(QUuid::Id128Bytes,QUuid::Id128Bytes)

* @param v2 * @return */ @QtUninvokable public final boolean equals(io.qt.core.QUuid.@NonNull Id128Bytes v2){ return equals_native_cref_QUuid_Id128Bytes(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(v2)); } @QtUninvokable private native boolean equals_native_cref_QUuid_Id128Bytes(long __this__nativeId, long v2); /** *

See QUuid::Id128Bytes::data

* @param data */ @QtUninvokable public final void setData(byte @StrictNonNull[] data){ java.util.Objects.requireNonNull(data, "Argument 'data': null not expected."); setData_native_quint8(QtJambi_LibraryUtilities.internal.nativeId(this), data); } @QtUninvokable private native void setData_native_quint8(long __this__nativeId, byte[] data); /** *

See QUuid::Id128Bytes::data

* @return */ @QtUninvokable public final byte @StrictNonNull[] data(){ return data_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native byte[] data_native(long __this__nativeId); /** *

See QUuid::Id128Bytes::data16

* @param data16 */ @QtUninvokable public final void setData16(short @StrictNonNull[] data16){ java.util.Objects.requireNonNull(data16, "Argument 'data16': null not expected."); setData16_native_quint16(QtJambi_LibraryUtilities.internal.nativeId(this), data16); } @QtUninvokable private native void setData16_native_quint16(long __this__nativeId, short[] data16); /** *

See QUuid::Id128Bytes::data16

* @return */ @QtUninvokable public final short @StrictNonNull[] data16(){ return data16_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native short[] data16_native(long __this__nativeId); /** *

See QUuid::Id128Bytes::data32

* @param data32 */ @QtUninvokable public final void setData32(int @StrictNonNull[] data32){ java.util.Objects.requireNonNull(data32, "Argument 'data32': null not expected."); setData32_native_quint32(QtJambi_LibraryUtilities.internal.nativeId(this), data32); } @QtUninvokable private native void setData32_native_quint32(long __this__nativeId, int[] data32); /** *

See QUuid::Id128Bytes::data32

* @return */ @QtUninvokable public final int @StrictNonNull[] data32(){ return data32_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int[] data32_native(long __this__nativeId); /** *

See QUuid::Id128Bytes::data64

* @param data64 */ @QtUninvokable public final void setData64(long @StrictNonNull[] data64){ java.util.Objects.requireNonNull(data64, "Argument 'data64': null not expected."); setData64_native_quint64(QtJambi_LibraryUtilities.internal.nativeId(this), data64); } @QtUninvokable private native void setData64_native_quint64(long __this__nativeId, long[] data64); /** *

See QUuid::Id128Bytes::data64

* @return */ @QtUninvokable public final long @StrictNonNull[] data64(){ return data64_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native long[] data64_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess private Id128Bytes(QPrivateConstructor p) { super(p); } /** *

See operator==(QUuid::Id128Bytes,QUuid::Id128Bytes)

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other==null || other instanceof io.qt.core.QUuid.Id128Bytes) { return equals((io.qt.core.QUuid.Id128Bytes) other); } return false; } /** * Returns the objects's hash code computed by qHash(QUuid::Id128Bytes). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); /** * Create instance from set of bytes. * @param data * @throws IllegalArgumentException if number of bytes is not 16 */ public Id128Bytes(byte... data) throws IllegalArgumentException{ this(); setData(data); } /** * Create instance from set of short values. * @param data * @throws IllegalArgumentException if number of short values is not 8 */ public Id128Bytes(short... data) throws IllegalArgumentException{ this(); setData16(data); } /** * Create instance from set of int values. * @param data * @throws IllegalArgumentException if number of int values is not 4 */ public Id128Bytes(int... data) throws IllegalArgumentException{ this(); setData32(data); } /** * Create instance from set of long values. * @param data * @throws IllegalArgumentException if number of long values is not 2 */ public Id128Bytes(long... data) throws IllegalArgumentException{ this(); setData64(data); } /** * Create instance from set of bytes. * @param data * @throws IllegalArgumentException if number of bytes is not 16 */ public static Id128Bytes of(byte... data) throws IllegalArgumentException{ return new Id128Bytes(data); } /** * Create instance from set of short values. * @param data * @throws IllegalArgumentException if number of short values is not 8 */ public static Id128Bytes of(short... data) throws IllegalArgumentException{ return new Id128Bytes(data); } /** * Create instance from set of int values. * @param data * @throws IllegalArgumentException if number of int values is not 4 */ public static Id128Bytes of(int... data) throws IllegalArgumentException{ return new Id128Bytes(data); } /** * Create instance from set of long values. * @param data * @throws IllegalArgumentException if number of long values is not 2 */ public static Id128Bytes of(long... data) throws IllegalArgumentException{ return new Id128Bytes(data); } /** *

Creates and returns a copy of this object.

See QUuid::Id128Bytes::Id128Bytes(QUuid::Id128Bytes)

*/ @QtUninvokable @Override public Id128Bytes clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native Id128Bytes clone_native(long __this_nativeId); /** * @hidden *

Kotlin property getter. In Java use {@link #data()} instead.

*/ @QtUninvokable public final byte @StrictNonNull[] getData() { return data(); } /** * @hidden *

Kotlin property getter. In Java use {@link #data16()} instead.

*/ @QtUninvokable public final short @StrictNonNull[] getData16() { return data16(); } /** * @hidden *

Kotlin property getter. In Java use {@link #data32()} instead.

*/ @QtUninvokable public final int @StrictNonNull[] getData32() { return data32(); } /** * @hidden *

Kotlin property getter. In Java use {@link #data64()} instead.

*/ @QtUninvokable public final long @StrictNonNull[] getData64() { return data64(); } } /** *

See QUuid::QUuid()

*/ public QUuid(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QUuid instance); /** *

See QUuid::QUuid(QAnyStringView)

* @param string */ public QUuid(java.lang.@NonNull String string){ super((QPrivateConstructor)null); initialize_native(this, string); } private native static void initialize_native(QUuid instance, java.lang.String string); /** *

See QUuid::QUuid(QUuid)

* @param other */ public QUuid(io.qt.core.@NonNull QUuid other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QUuid instance, io.qt.core.QUuid other); /** *

See QUuid::QUuid(QUuid::Id128Bytes,QSysInfo::Endian)

* @since This function was introduced in Qt 6.6. * @param id128 * @param order */ public QUuid(io.qt.core.QUuid.@NonNull Id128Bytes id128, io.qt.core.QSysInfo.@NonNull Endian order){ super((QPrivateConstructor)null); initialize_native(this, id128, order); } private native static void initialize_native(QUuid instance, io.qt.core.QUuid.Id128Bytes id128, io.qt.core.QSysInfo.Endian order); /** *

See QUuid::QUuid(uint,ushort,ushort,uchar,uchar,uchar,uchar,uchar,uchar,uchar,uchar)

* @param l * @param w1 * @param w2 * @param b1 * @param b2 * @param b3 * @param b4 * @param b5 * @param b6 * @param b7 * @param b8 */ public QUuid(int l, short w1, short w2, byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7, byte b8){ super((QPrivateConstructor)null); initialize_native(this, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8); } private native static void initialize_native(QUuid instance, int l, short w1, short w2, byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7, byte b8); /** *

See QUuid::isNull()const

* @return */ @QtUninvokable public final boolean isNull(){ return isNull_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isNull_native_constfct(long __this__nativeId); @QtUninvokable private final boolean operator_less(io.qt.core.@NonNull QUuid rhs){ return operator_less_native_cref_QUuid(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs)); } @QtUninvokable private native boolean operator_less_native_cref_QUuid(long __this__nativeId, long rhs); /** *

See operator<<(QDataStream&,QUuid)

* @param arg__1 */ @QtUninvokable public void writeTo(io.qt.core.@StrictNonNull QDataStream arg__1){ java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected."); writeTo_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void writeTo_native_ref_QDataStream(long __this__nativeId, long arg__1); /** *

See operator==(QUuid,QUuid)

* @param rhs * @return */ @QtUninvokable public final boolean equals(io.qt.core.@NonNull QUuid rhs){ return equals_native_cref_QUuid(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs)); } @QtUninvokable private native boolean equals_native_cref_QUuid(long __this__nativeId, long rhs); /** *

See operator>>(QDataStream&,QUuid&)

* @param arg__1 */ @QtUninvokable public void readFrom(io.qt.core.@StrictNonNull QDataStream arg__1){ java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected."); readFrom_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void readFrom_native_ref_QDataStream(long __this__nativeId, long arg__1); /** *

See QUuid::toByteArray(QUuid::StringFormat)const

* @param mode * @return */ @QtUninvokable public final io.qt.core.@NonNull QByteArray toByteArray(io.qt.core.QUuid.@NonNull StringFormat mode){ return toByteArray_native_QUuid_StringFormat_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } @QtUninvokable private native io.qt.core.QByteArray toByteArray_native_QUuid_StringFormat_constfct(long __this__nativeId, int mode); /** *

See QUuid::toBytes(QSysInfo::Endian)const

* @since This function was introduced in Qt 6.6. * @param order * @return */ @QtUninvokable public final io.qt.core.QUuid.@NonNull Id128Bytes toBytes(io.qt.core.QSysInfo.@NonNull Endian order){ return toBytes_native_QSysInfo_Endian_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), order.value()); } @QtUninvokable private native io.qt.core.QUuid.Id128Bytes toBytes_native_QSysInfo_Endian_constfct(long __this__nativeId, int order); /** *

See QUuid::toRfc4122()const

* @return */ @QtUninvokable public final io.qt.core.@NonNull QByteArray toRfc4122(){ return toRfc4122_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QByteArray toRfc4122_native_constfct(long __this__nativeId); /** *

See QUuid::toString(QUuid::StringFormat)const

* @param mode * @return */ @QtUninvokable public final java.lang.@NonNull String toString(io.qt.core.QUuid.@NonNull StringFormat mode){ return toString_native_QUuid_StringFormat_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } @QtUninvokable private native java.lang.String toString_native_QUuid_StringFormat_constfct(long __this__nativeId, int mode); /** *

See QUuid::variant()const

* @return */ @QtUninvokable public final io.qt.core.QUuid.@NonNull Variant variant(){ return io.qt.core.QUuid.Variant.resolve(variant_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int variant_native_constfct(long __this__nativeId); /** *

See QUuid::version()const

* @return */ @QtUninvokable public final io.qt.core.QUuid.@NonNull Version version(){ return io.qt.core.QUuid.Version.resolve(version_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int version_native_constfct(long __this__nativeId); /** *

See QUuid::createUuid()

* @return */ public native static io.qt.core.@NonNull QUuid createUuid(); /** *

See QUuid::createUuidV3(QUuid,QByteArrayView)

* @param ns * @param baseData * @return */ public static io.qt.core.@NonNull QUuid createUuidV3(io.qt.core.@NonNull QUuid ns, io.qt.core.@NonNull QByteArrayView baseData){ return createUuidV3_native_QUuid_QByteArrayView(QtJambi_LibraryUtilities.internal.checkedNativeId(ns), QtJambi_LibraryUtilities.internal.checkedNativeId(baseData)); } private native static io.qt.core.QUuid createUuidV3_native_QUuid_QByteArrayView(long ns, long baseData); /** *

See QUuid::createUuidV3<void>(QUuid,QString)

* @param ns * @param baseData * @return */ public static io.qt.core.@NonNull QUuid createUuidV3(io.qt.core.@NonNull QUuid ns, java.lang.@NonNull String baseData){ return createUuidV3_native_cref_QUuid_cref_QString(QtJambi_LibraryUtilities.internal.checkedNativeId(ns), baseData); } private native static io.qt.core.QUuid createUuidV3_native_cref_QUuid_cref_QString(long ns, java.lang.String baseData); /** *

See QUuid::createUuidV5(QUuid,QByteArrayView)

* @param ns * @param baseData * @return */ public static io.qt.core.@NonNull QUuid createUuidV5(io.qt.core.@NonNull QUuid ns, io.qt.core.@NonNull QByteArrayView baseData){ return createUuidV5_native_QUuid_QByteArrayView(QtJambi_LibraryUtilities.internal.checkedNativeId(ns), QtJambi_LibraryUtilities.internal.checkedNativeId(baseData)); } private native static io.qt.core.QUuid createUuidV5_native_QUuid_QByteArrayView(long ns, long baseData); /** *

See QUuid::createUuidV5<void>(QUuid,QString)

* @param ns * @param baseData * @return */ public static io.qt.core.@NonNull QUuid createUuidV5(io.qt.core.@NonNull QUuid ns, java.lang.@NonNull String baseData){ return createUuidV5_native_cref_QUuid_cref_QString(QtJambi_LibraryUtilities.internal.checkedNativeId(ns), baseData); } private native static io.qt.core.QUuid createUuidV5_native_cref_QUuid_cref_QString(long ns, java.lang.String baseData); /** *

See QUuid::fromBytes(const void*,QSysInfo::Endian)

* @since This function was introduced in Qt 6.6. * @param bytes * @param order * @return */ public static io.qt.core.@NonNull QUuid fromBytes(io.qt.core.QUuid.@StrictNonNull Id128Bytes bytes, io.qt.core.QSysInfo.@NonNull Endian order){ java.util.Objects.requireNonNull(bytes, "Argument 'bytes': null not expected."); return fromBytes_native_const_void_ptr_QSysInfo_Endian(bytes, order.value()); } private native static io.qt.core.QUuid fromBytes_native_const_void_ptr_QSysInfo_Endian(io.qt.core.QUuid.Id128Bytes bytes, int order); /** *

See QUuid::fromRfc4122(QByteArrayView)

* @param arg__1 * @return */ public static io.qt.core.@NonNull QUuid fromRfc4122(io.qt.core.@NonNull QByteArrayView arg__1){ return fromRfc4122_native_QByteArrayView(QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } private native static io.qt.core.QUuid fromRfc4122_native_QByteArrayView(long arg__1); /** *

See QUuid::fromString(QAnyStringView)

* @param string * @return */ public native static io.qt.core.@NonNull QUuid fromString(java.lang.@NonNull String string); /** *

See QUuid::data1

* @param data1 */ @QtUninvokable public final void setData1(int data1){ setData1_native_uint(QtJambi_LibraryUtilities.internal.nativeId(this), data1); } @QtUninvokable private native void setData1_native_uint(long __this__nativeId, int data1); /** *

See QUuid::data1

* @return */ @QtUninvokable public final int data1(){ return data1_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int data1_native(long __this__nativeId); /** *

See QUuid::data2

* @param data2 */ @QtUninvokable public final void setData2(short data2){ setData2_native_ushort(QtJambi_LibraryUtilities.internal.nativeId(this), data2); } @QtUninvokable private native void setData2_native_ushort(long __this__nativeId, short data2); /** *

See QUuid::data2

* @return */ @QtUninvokable public final short data2(){ return data2_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native short data2_native(long __this__nativeId); /** *

See QUuid::data3

* @param data3 */ @QtUninvokable public final void setData3(short data3){ setData3_native_ushort(QtJambi_LibraryUtilities.internal.nativeId(this), data3); } @QtUninvokable private native void setData3_native_ushort(long __this__nativeId, short data3); /** *

See QUuid::data3

* @return */ @QtUninvokable public final short data3(){ return data3_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native short data3_native(long __this__nativeId); /** *

See QUuid::data4

* @param data4 */ @QtUninvokable public final void setData4(byte @StrictNonNull[] data4){ java.util.Objects.requireNonNull(data4, "Argument 'data4': null not expected."); setData4_native_uchar(QtJambi_LibraryUtilities.internal.nativeId(this), data4); } @QtUninvokable private native void setData4_native_uchar(long __this__nativeId, byte[] data4); /** *

See QUuid::data4

* @return */ @QtUninvokable public final byte @StrictNonNull[] data4(){ return data4_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native byte[] data4_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QUuid(QPrivateConstructor p) { super(p); } /** *

See operator==(QUuid,QUuid)

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other==null || other instanceof io.qt.core.QUuid) { return equals((io.qt.core.QUuid) other); } return false; } /** *

See operator<(QUuid,QUuid)

*/ @QtUninvokable public int compareTo(io.qt.core.@StrictNonNull QUuid other) { if (equals(other)) return 0; else if (operator_less(other)) return -1; else return 1; } /** * Returns the objects's hash code computed by qHash(QUuid). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); /** *

Creates and returns a copy of this object.

See QUuid::QUuid(QUuid)

*/ @QtUninvokable @Override public QUuid clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QUuid clone_native(long __this_nativeId); /** *

Overloaded constructor for {@link #QUuid(io.qt.core.QUuid.Id128Bytes, io.qt.core.QSysInfo.Endian)} * with order = io.qt.core.QSysInfo.Endian.BigEndian.

*/ public QUuid(io.qt.core.QUuid.@NonNull Id128Bytes id128) { this(id128, io.qt.core.QSysInfo.Endian.BigEndian); } /** *

Overloaded function for {@link #toByteArray(io.qt.core.QUuid.StringFormat)} * with mode = io.qt.core.QUuid.StringFormat.WithBraces.

*/ @QtUninvokable public final io.qt.core.@NonNull QByteArray toByteArray() { return toByteArray(io.qt.core.QUuid.StringFormat.WithBraces); } /** *

Overloaded function for {@link #toBytes(io.qt.core.QSysInfo.Endian)} * with order = io.qt.core.QSysInfo.Endian.BigEndian.

*/ @QtUninvokable public final io.qt.core.QUuid.@NonNull Id128Bytes toBytes() { return toBytes(io.qt.core.QSysInfo.Endian.BigEndian); } /** *

Overloaded function for {@link #toString(io.qt.core.QUuid.StringFormat)} * with mode = io.qt.core.QUuid.StringFormat.WithBraces.

*/ @QtUninvokable public final java.lang.@NonNull String toString() { return toString(io.qt.core.QUuid.StringFormat.WithBraces); } /** *

Overloaded function for {@link #createUuidV3(io.qt.core.QUuid, io.qt.core.QByteArrayView)}.

*/ public static io.qt.core.@NonNull QUuid createUuidV3(io.qt.core.@NonNull QUuid ns, io.qt.core.@NonNull QByteArray baseData) { return createUuidV3(ns, new io.qt.core.QByteArrayView(baseData)); } /** *

Overloaded function for {@link #createUuidV3(io.qt.core.QUuid, io.qt.core.QByteArrayView)}.

*/ public static io.qt.core.@NonNull QUuid createUuidV3(io.qt.core.@NonNull QUuid ns, java.nio.@NonNull ByteBuffer baseData) { return createUuidV3(ns, new io.qt.core.QByteArrayView(baseData)); } /** *

Overloaded function for {@link #createUuidV3(io.qt.core.QUuid, io.qt.core.QByteArrayView)}.

*/ public static io.qt.core.@NonNull QUuid createUuidV3(io.qt.core.@NonNull QUuid ns, byte @NonNull[] baseData) { return createUuidV3(ns, new io.qt.core.QByteArrayView(baseData)); } /** *

Overloaded function for {@link #createUuidV5(io.qt.core.QUuid, io.qt.core.QByteArrayView)}.

*/ public static io.qt.core.@NonNull QUuid createUuidV5(io.qt.core.@NonNull QUuid ns, io.qt.core.@NonNull QByteArray baseData) { return createUuidV5(ns, new io.qt.core.QByteArrayView(baseData)); } /** *

Overloaded function for {@link #createUuidV5(io.qt.core.QUuid, io.qt.core.QByteArrayView)}.

*/ public static io.qt.core.@NonNull QUuid createUuidV5(io.qt.core.@NonNull QUuid ns, java.nio.@NonNull ByteBuffer baseData) { return createUuidV5(ns, new io.qt.core.QByteArrayView(baseData)); } /** *

Overloaded function for {@link #createUuidV5(io.qt.core.QUuid, io.qt.core.QByteArrayView)}.

*/ public static io.qt.core.@NonNull QUuid createUuidV5(io.qt.core.@NonNull QUuid ns, byte @NonNull[] baseData) { return createUuidV5(ns, new io.qt.core.QByteArrayView(baseData)); } /** *

Overloaded function for {@link #fromBytes(io.qt.core.QUuid.Id128Bytes, io.qt.core.QSysInfo.Endian)} * with order = io.qt.core.QSysInfo.Endian.BigEndian.

*/ public static io.qt.core.@NonNull QUuid fromBytes(io.qt.core.QUuid.@StrictNonNull Id128Bytes bytes) { return fromBytes(bytes, io.qt.core.QSysInfo.Endian.BigEndian); } /** *

Overloaded function for {@link #fromRfc4122(io.qt.core.QByteArrayView)}.

*/ public static io.qt.core.@NonNull QUuid fromRfc4122(io.qt.core.@NonNull QByteArray arg__1) { return fromRfc4122(new io.qt.core.QByteArrayView(arg__1)); } /** *

Overloaded function for {@link #fromRfc4122(io.qt.core.QByteArrayView)}.

*/ public static io.qt.core.@NonNull QUuid fromRfc4122(java.nio.@NonNull ByteBuffer arg__1) { return fromRfc4122(new io.qt.core.QByteArrayView(arg__1)); } /** *

Overloaded function for {@link #fromRfc4122(io.qt.core.QByteArrayView)}.

*/ public static io.qt.core.@NonNull QUuid fromRfc4122(byte @NonNull[] arg__1) { return fromRfc4122(new io.qt.core.QByteArrayView(arg__1)); } /** *

Overloaded function for {@link #fromRfc4122(io.qt.core.QByteArrayView)}.

*/ public static io.qt.core.@NonNull QUuid fromRfc4122(java.lang.@NonNull String arg__1) { return fromRfc4122(new io.qt.core.QByteArrayView(arg__1)); } /** * @hidden *

Kotlin property getter. In Java use {@link #data1()} instead.

*/ @QtUninvokable public final int getData1() { return data1(); } /** * @hidden *

Kotlin property getter. In Java use {@link #data2()} instead.

*/ @QtUninvokable public final short getData2() { return data2(); } /** * @hidden *

Kotlin property getter. In Java use {@link #data3()} instead.

*/ @QtUninvokable public final short getData3() { return data3(); } /** * @hidden *

Kotlin property getter. In Java use {@link #data4()} instead.

*/ @QtUninvokable public final byte @StrictNonNull[] getData4() { return data4(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy