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

io.qt.bluetooth.QBluetoothAddress Maven / Gradle / Ivy

package io.qt.bluetooth;

import io.qt.*;


/**
 * 

Assigns an address to the Bluetooth device

*

Java wrapper for Qt class QBluetoothAddress

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

See QBluetoothAddress::QBluetoothAddress()

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

See QBluetoothAddress::QBluetoothAddress(QBluetoothAddress)

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

See QBluetoothAddress::QBluetoothAddress(QString)

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

See QBluetoothAddress::QBluetoothAddress(quint64)

*/ public QBluetoothAddress(long address){ super((QPrivateConstructor)null); initialize_native(this, address); } private native static void initialize_native(QBluetoothAddress instance, long address); /** *

See QBluetoothAddress::clear()

*/ @QtUninvokable public final void clear(){ clear_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void clear_native(long __this__nativeId); /** *

See QBluetoothAddress::isNull()const

*/ @QtUninvokable public final boolean isNull(){ return isNull_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isNull_native_constfct(long __this__nativeId); /** *

See QBluetoothAddress::operator<(QBluetoothAddress)const

*/ @QtUninvokable private final boolean operator_less(io.qt.bluetooth.@NonNull QBluetoothAddress other){ return operator_less_native_cref_QBluetoothAddress_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native boolean operator_less_native_cref_QBluetoothAddress_constfct(long __this__nativeId, long other); /** *

See QBluetoothAddress::operator=(QBluetoothAddress)

*/ @QtUninvokable public final void assign(io.qt.bluetooth.@NonNull QBluetoothAddress other){ assign_native_cref_QBluetoothAddress(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void assign_native_cref_QBluetoothAddress(long __this__nativeId, long other); /** *

See QBluetoothAddress::operator==(QBluetoothAddress)const

*/ @QtUninvokable public final boolean equals(io.qt.bluetooth.@NonNull QBluetoothAddress other){ return equals_native_cref_QBluetoothAddress_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native boolean equals_native_cref_QBluetoothAddress_constfct(long __this__nativeId, long other); /** *

See QBluetoothAddress::toString()const

*/ @QtUninvokable public final java.lang.@NonNull String toString(){ return toString_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String toString_native_constfct(long __this__nativeId); /** *

See QBluetoothAddress::toUInt64()const

*/ @QtUninvokable public final long toUInt64(){ return toUInt64_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native long toUInt64_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QBluetoothAddress(QPrivateConstructor p) { super(p); } /** *

See QBluetoothAddress::operator==(QBluetoothAddress)const

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.bluetooth.QBluetoothAddress) { return equals((io.qt.bluetooth.QBluetoothAddress) other); } return false; } /** *

See QBluetoothAddress::operator<(QBluetoothAddress)const

*/ /** * {@inheritDoc} */ @QtUninvokable public int compareTo(io.qt.bluetooth.@StrictNonNull QBluetoothAddress 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(QBluetoothAddress). */ @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.

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy