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

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

The newest version!
package io.qt.core;


/**
 * 

View on an array of bytes with a read-only subset of the QByteArray API

*

Java wrapper for Qt class QByteArrayView

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

See QByteArrayView::QByteArrayView()

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

See QByteArrayView::at(qsizetype)const

*/ @io.qt.QtUninvokable public final byte at(long n){ return at_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), n); } @io.qt.QtUninvokable private native byte at_native_qsizetype_constfct(long __this__nativeId, long n); /** *

See QByteArrayView::begin()const

*/ @io.qt.QtUninvokable protected final io.qt.core.QIterator begin(){ return begin_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QIterator begin_native_constfct(long __this__nativeId); /** *

See QByteArrayView::chop(qsizetype)

*/ @io.qt.QtUninvokable public final void chop(long n){ chop_native_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), n); } @io.qt.QtUninvokable private native void chop_native_qsizetype(long __this__nativeId, long n); /** *

See QByteArrayView::chopped(qsizetype)const

*/ @io.qt.QtUninvokable public final io.qt.core.QByteArrayView chopped(long len){ return chopped_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), len); } @io.qt.QtUninvokable private native io.qt.core.QByteArrayView chopped_native_qsizetype_constfct(long __this__nativeId, long len); /** *

Overloaded function for {@link #compare(io.qt.core.QByteArrayView, io.qt.core.Qt.CaseSensitivity)} * with cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive.

*/ @io.qt.QtUninvokable public final int compare(io.qt.core.QByteArrayView a) { return compare(a, io.qt.core.Qt.CaseSensitivity.CaseSensitive); } /** *

See QByteArrayView::compare(QByteArrayView,Qt::CaseSensitivity)const

*/ @io.qt.QtUninvokable public final int compare(io.qt.core.QByteArrayView a, io.qt.core.Qt.CaseSensitivity cs){ return compare_native_QByteArrayView_Qt_CaseSensitivity_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a), cs.value()); } @io.qt.QtUninvokable private native int compare_native_QByteArrayView_Qt_CaseSensitivity_constfct(long __this__nativeId, long a, int cs); /** *

See QByteArrayView::contains(QByteArrayView)const

*/ @io.qt.QtUninvokable public final boolean contains(io.qt.core.QByteArrayView a){ return contains_native_QByteArrayView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a)); } @io.qt.QtUninvokable private native boolean contains_native_QByteArrayView_constfct(long __this__nativeId, long a); /** *

See QByteArrayView::contains(char)const

*/ @io.qt.QtUninvokable public final boolean contains(byte c){ return contains_native_char_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), c); } @io.qt.QtUninvokable private native boolean contains_native_char_constfct(long __this__nativeId, byte c); /** *

See QByteArrayView::count(QByteArrayView)const

*/ @io.qt.QtUninvokable public final long count(io.qt.core.QByteArrayView a){ return count_native_QByteArrayView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a)); } @io.qt.QtUninvokable private native long count_native_QByteArrayView_constfct(long __this__nativeId, long a); /** *

See QByteArrayView::count(char)const

*/ @io.qt.QtUninvokable public final long count(byte ch){ return count_native_char_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), ch); } @io.qt.QtUninvokable private native long count_native_char_constfct(long __this__nativeId, byte ch); /** *

See QByteArrayView::data()const

*/ @io.qt.QtUninvokable public final java.nio.ByteBuffer data(){ return data_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native java.nio.ByteBuffer data_native_constfct(long __this__nativeId); /** *

See QByteArrayView::end()const

*/ @io.qt.QtUninvokable protected final io.qt.core.QIterator end(){ return end_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QIterator end_native_constfct(long __this__nativeId); /** *

See QByteArrayView::endsWith(QByteArrayView)const

*/ @io.qt.QtUninvokable public final boolean endsWith(io.qt.core.QByteArrayView other){ return endsWith_native_QByteArrayView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @io.qt.QtUninvokable private native boolean endsWith_native_QByteArrayView_constfct(long __this__nativeId, long other); /** *

See QByteArrayView::endsWith(char)const

*/ @io.qt.QtUninvokable public final boolean endsWith(byte c){ return endsWith_native_char_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), c); } @io.qt.QtUninvokable private native boolean endsWith_native_char_constfct(long __this__nativeId, byte c); @io.qt.QtUninvokable public final byte first(){ return first_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native byte first_native_constfct(long __this__nativeId); /** *

See QByteArrayView::first(qsizetype)const

*/ @io.qt.QtUninvokable public final io.qt.core.QByteArrayView first(long n){ return first_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), n); } @io.qt.QtUninvokable private native io.qt.core.QByteArrayView first_native_qsizetype_constfct(long __this__nativeId, long n); /** *

Overloaded function for {@link #indexOf(io.qt.core.QByteArrayView, long)} * with from = 0.

*/ @io.qt.QtUninvokable public final long indexOf(io.qt.core.QByteArrayView a) { return indexOf(a, (long)0); } /** *

See QByteArrayView::indexOf(QByteArrayView,qsizetype)const

*/ @io.qt.QtUninvokable public final long indexOf(io.qt.core.QByteArrayView a, long from){ return indexOf_native_QByteArrayView_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a), from); } @io.qt.QtUninvokable private native long indexOf_native_QByteArrayView_qsizetype_constfct(long __this__nativeId, long a, long from); /** *

Overloaded function for {@link #indexOf(byte, long)} * with from = 0.

*/ @io.qt.QtUninvokable public final long indexOf(byte ch) { return indexOf(ch, (long)0); } /** *

See QByteArrayView::indexOf(char,qsizetype)const

*/ @io.qt.QtUninvokable public final long indexOf(byte ch, long from){ return indexOf_native_char_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), ch, from); } @io.qt.QtUninvokable private native long indexOf_native_char_qsizetype_constfct(long __this__nativeId, byte ch, long from); /** *

See QByteArrayView::isEmpty()const

*/ @io.qt.QtUninvokable public final boolean isEmpty(){ return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean isEmpty_native_constfct(long __this__nativeId); /** *

See QByteArrayView::isNull()const

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

See QByteArrayView::isValidUtf8()const

*/ @io.qt.QtUninvokable public final boolean isValidUtf8(){ return isValidUtf8_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean isValidUtf8_native_constfct(long __this__nativeId); @io.qt.QtUninvokable public final byte last(){ return last_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native byte last_native_constfct(long __this__nativeId); /** *

See QByteArrayView::last(qsizetype)const

*/ @io.qt.QtUninvokable public final io.qt.core.QByteArrayView last(long n){ return last_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), n); } @io.qt.QtUninvokable private native io.qt.core.QByteArrayView last_native_qsizetype_constfct(long __this__nativeId, long n); /** *

See QByteArrayView::lastIndexOf(QByteArrayView)const

*/ @io.qt.QtUninvokable public final long lastIndexOf(io.qt.core.QByteArrayView a){ return lastIndexOf_native_QByteArrayView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a)); } @io.qt.QtUninvokable private native long lastIndexOf_native_QByteArrayView_constfct(long __this__nativeId, long a); /** *

See QByteArrayView::lastIndexOf(QByteArrayView,qsizetype)const

*/ @io.qt.QtUninvokable public final long lastIndexOf(io.qt.core.QByteArrayView a, long from){ return lastIndexOf_native_QByteArrayView_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(a), from); } @io.qt.QtUninvokable private native long lastIndexOf_native_QByteArrayView_qsizetype_constfct(long __this__nativeId, long a, long from); /** *

Overloaded function for {@link #lastIndexOf(byte, long)} * with from = -1.

*/ @io.qt.QtUninvokable public final long lastIndexOf(byte ch) { return lastIndexOf(ch, (long)-1); } /** *

See QByteArrayView::lastIndexOf(char,qsizetype)const

*/ @io.qt.QtUninvokable public final long lastIndexOf(byte ch, long from){ return lastIndexOf_native_char_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), ch, from); } @io.qt.QtUninvokable private native long lastIndexOf_native_char_qsizetype_constfct(long __this__nativeId, byte ch, long from); /** *

See QByteArrayView::length()const

*/ @io.qt.QtUninvokable public final long length(){ return length_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native long length_native_constfct(long __this__nativeId); @io.qt.QtUninvokable private final boolean operator_less(io.qt.core.QByteArray arg__2){ return operator_less_native_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__2)); } @io.qt.QtUninvokable private native boolean operator_less_native_QByteArray(long __this__nativeId, long arg__2); @io.qt.QtUninvokable private final boolean operator_less(io.qt.core.QByteArrayView rhs){ return operator_less_native_QByteArrayView(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs)); } @io.qt.QtUninvokable private native boolean operator_less_native_QByteArrayView(long __this__nativeId, long rhs); @io.qt.QtUninvokable private final boolean operator_equal(io.qt.core.QByteArray arg__2){ return operator_equal_native_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__2)); } @io.qt.QtUninvokable private native boolean operator_equal_native_QByteArray(long __this__nativeId, long arg__2); @io.qt.QtUninvokable private final boolean operator_equal(io.qt.core.QByteArrayView rhs){ return operator_equal_native_QByteArrayView(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs)); } @io.qt.QtUninvokable private native boolean operator_equal_native_QByteArrayView(long __this__nativeId, long rhs); /** *

See QByteArrayView::size()const

*/ @io.qt.QtUninvokable public final long size(){ return size_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native long size_native_constfct(long __this__nativeId); /** *

See QByteArrayView::sliced(qsizetype)const

*/ @io.qt.QtUninvokable public final io.qt.core.QByteArrayView sliced(long pos){ return sliced_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), pos); } @io.qt.QtUninvokable private native io.qt.core.QByteArrayView sliced_native_qsizetype_constfct(long __this__nativeId, long pos); /** *

See QByteArrayView::sliced(qsizetype,qsizetype)const

*/ @io.qt.QtUninvokable public final io.qt.core.QByteArrayView sliced(long pos, long n){ return sliced_native_qsizetype_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), pos, n); } @io.qt.QtUninvokable private native io.qt.core.QByteArrayView sliced_native_qsizetype_qsizetype_constfct(long __this__nativeId, long pos, long n); /** *

See QByteArrayView::startsWith(QByteArrayView)const

*/ @io.qt.QtUninvokable public final boolean startsWith(io.qt.core.QByteArrayView other){ return startsWith_native_QByteArrayView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @io.qt.QtUninvokable private native boolean startsWith_native_QByteArrayView_constfct(long __this__nativeId, long other); /** *

See QByteArrayView::startsWith(char)const

*/ @io.qt.QtUninvokable public final boolean startsWith(byte c){ return startsWith_native_char_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), c); } @io.qt.QtUninvokable private native boolean startsWith_native_char_constfct(long __this__nativeId, byte c); /** *

See QByteArrayView::toByteArray()const

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

See QByteArrayView::toDouble(bool*)const

*/ @io.qt.QtUninvokable public final double toDouble() throws NumberFormatException{ return toDouble_native_bool_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double toDouble_native_bool_ptr_constfct(long __this__nativeId) throws NumberFormatException ; /** *

See QByteArrayView::toFloat(bool*)const

*/ @io.qt.QtUninvokable public final float toFloat() throws NumberFormatException{ return toFloat_native_bool_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native float toFloat_native_bool_ptr_constfct(long __this__nativeId) throws NumberFormatException ; /** *

Overloaded function for {@link #toInt(int)} * with base = 10.

*/ @io.qt.QtUninvokable public final int toInt() throws NumberFormatException { return toInt((int)10); } /** *

See QByteArrayView::toInt(bool*,int)const

*/ @io.qt.QtUninvokable public final int toInt(int base) throws NumberFormatException{ return toInt_native_bool_ptr_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), base); } @io.qt.QtUninvokable private native int toInt_native_bool_ptr_int_constfct(long __this__nativeId, int base) throws NumberFormatException ; /** *

Overloaded function for {@link #toShort(int)} * with base = 10.

*/ @io.qt.QtUninvokable public final short toShort() throws NumberFormatException { return toShort((int)10); } /** *

See QByteArrayView::toShort(bool*,int)const

*/ @io.qt.QtUninvokable public final short toShort(int base) throws NumberFormatException{ return toShort_native_bool_ptr_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), base); } @io.qt.QtUninvokable private native short toShort_native_bool_ptr_int_constfct(long __this__nativeId, int base) throws NumberFormatException ; /** *

See QByteArrayView::trimmed()const

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

See QByteArrayView::truncate(qsizetype)

*/ @io.qt.QtUninvokable public final void truncate(long n){ truncate_native_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), n); } @io.qt.QtUninvokable private native void truncate_native_qsizetype(long __this__nativeId, long n); @Override public java.util.Iterator iterator() { return begin().iterator(); } /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QByteArrayView(QPrivateConstructor p) { super(p); } @Override @io.qt.QtUninvokable public boolean equals(Object other) { if (other instanceof byte[]) { other = new io.qt.core.QByteArrayView((byte[]) other); }else if (other instanceof java.nio.ByteBuffer) { other = new io.qt.core.QByteArrayView((java.nio.ByteBuffer) other); }else if (other instanceof String) { other = new io.qt.core.QByteArrayView((String) other); } if (other instanceof io.qt.core.QByteArray) { return operator_equal((io.qt.core.QByteArray) other); } else if (other instanceof io.qt.core.QByteArrayView) { return operator_equal((io.qt.core.QByteArrayView) other); } return false; } @io.qt.QtUninvokable public int compareTo(Object other) { if (other instanceof byte[]) { other = new io.qt.core.QByteArrayView((byte[]) other); }else if (other instanceof java.nio.ByteBuffer) { other = new io.qt.core.QByteArrayView((java.nio.ByteBuffer) other); }else if (other instanceof String) { other = new io.qt.core.QByteArrayView((String) other); } if (equals(other)) return 0; else if (other instanceof io.qt.core.QByteArray) { if (operator_less((io.qt.core.QByteArray) other)) return -1; else return 1; } else if (other instanceof io.qt.core.QByteArrayView) { if (operator_less((io.qt.core.QByteArrayView) other)) return -1; else return 1; } else if(other==null) if (operator_less((io.qt.core.QByteArrayView) other)) return -1; else return 1; else throw new ClassCastException(); } @io.qt.QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native static int hashCode_native(long __this_nativeId); public QByteArrayView(byte[] data){ super((QPrivateConstructor)null); Long[] pointerOut = {null}; initialize_native(this, data, pointerOut); if(pointerOut[0]!=null) { long pointer = pointerOut[0]; purgeTask = ()->purgeBytes(pointer); io.qt.QtUtilities.getSignalOnDispose(this).connect(purgeTask::run); } } private native static void initialize_native(QByteArrayView instance, byte[] data, Long[] pointerOut); private native static void purgeBytes(long pointer); public QByteArrayView(String data){ super((QPrivateConstructor)null); Long[] pointerOut = {null}; initialize_native(this, data, pointerOut); if(pointerOut[0]!=null) { long pointer = pointerOut[0]; purgeTask = ()->purgeString(pointer); io.qt.QtUtilities.getSignalOnDispose(this).connect(purgeTask::run); } } private native static void initialize_native(QByteArrayView instance, String data, Long[] pointerOut); private native static void purgeString(long pointer); public QByteArrayView(java.nio.ByteBuffer data){ super((QPrivateConstructor)null); if(data.isDirect()) { initialize_native(this, data); purgeTask = data::hashCode; io.qt.QtUtilities.getSignalOnDispose(this).connect(purgeTask::run); }else { Long[] pointerOut = {null}; initialize_native(this, data, pointerOut); if(pointerOut[0]!=null) { long pointer = pointerOut[0]; purgeTask = ()->purgeBuffer(pointer); io.qt.QtUtilities.getSignalOnDispose(this).connect(purgeTask::run); } } } private native static void initialize_native(QByteArrayView instance, java.nio.ByteBuffer data); private native static void initialize_native(QByteArrayView instance, java.nio.Buffer data, Long[] pointerOut); private native static void purgeBuffer(long pointer); public QByteArrayView(QByteArray data){ super((QPrivateConstructor)null); if(data!=null) { initialize_native(this, data); purgeTask = data::isDisposed; io.qt.QtUtilities.getSignalOnDispose(this).connect(purgeTask::run); }else { initialize_native(this); } } private native static void initialize_native(QByteArrayView instance, QByteArray data); private Runnable purgeTask; @io.qt.QtUninvokable public final int compare(io.qt.core.QByteArray a){ return compare(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final int compare(io.qt.core.QByteArray a, io.qt.core.Qt.CaseSensitivity cs){ return compare(new io.qt.core.QByteArrayView(a), cs); } @io.qt.QtUninvokable public final int compare(byte[] a){ return compare(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final int compare(byte[] a, io.qt.core.Qt.CaseSensitivity cs){ return compare(new io.qt.core.QByteArrayView(a), cs); } @io.qt.QtUninvokable public final int compare(java.nio.ByteBuffer a){ return compare(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final int compare(java.nio.ByteBuffer a, io.qt.core.Qt.CaseSensitivity cs){ return compare(new io.qt.core.QByteArrayView(a), cs); } @io.qt.QtUninvokable public final int compare(String a){ return compare(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final int compare(String a, io.qt.core.Qt.CaseSensitivity cs){ return compare(new io.qt.core.QByteArrayView(a), cs); } @io.qt.QtUninvokable public final boolean contains(io.qt.core.QByteArray a){ return contains(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final boolean contains(byte[] a){ return contains(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final boolean contains(String a){ return contains(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final boolean contains(java.nio.ByteBuffer a){ return contains(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final boolean endsWith(io.qt.core.QByteArray a){ return endsWith(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final boolean endsWith(byte[] a){ return endsWith(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final boolean endsWith(String a){ return endsWith(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final boolean endsWith(java.nio.ByteBuffer a){ return endsWith(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final boolean startsWith(io.qt.core.QByteArray a){ return startsWith(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final boolean startsWith(byte[] a){ return startsWith(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final boolean startsWith(String a){ return startsWith(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final boolean startsWith(java.nio.ByteBuffer a){ return startsWith(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final long count(io.qt.core.QByteArray a){ return count(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final long count(byte[] a){ return count(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final long count(String a){ return count(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final long count(java.nio.ByteBuffer a){ return count(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final long indexOf(io.qt.core.QByteArray a){ return indexOf(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final long indexOf(byte[] a){ return indexOf(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final long indexOf(String a){ return indexOf(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final long indexOf(java.nio.ByteBuffer a){ return indexOf(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final long indexOf(io.qt.core.QByteArray a, long from){ return indexOf(new io.qt.core.QByteArrayView(a), from); } @io.qt.QtUninvokable public final long indexOf(byte[] a, long from){ return indexOf(new io.qt.core.QByteArrayView(a), from); } @io.qt.QtUninvokable public final long indexOf(String a, long from){ return indexOf(new io.qt.core.QByteArrayView(a), from); } @io.qt.QtUninvokable public final long indexOf(java.nio.ByteBuffer a, long from){ return indexOf(new io.qt.core.QByteArrayView(a), from); } @io.qt.QtUninvokable public final long lastIndexOf(io.qt.core.QByteArray a){ return lastIndexOf(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final long lastIndexOf(byte[] a){ return lastIndexOf(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final long lastIndexOf(String a){ return lastIndexOf(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final long lastIndexOf(java.nio.ByteBuffer a){ return lastIndexOf(new io.qt.core.QByteArrayView(a)); } @io.qt.QtUninvokable public final long lastIndexOf(io.qt.core.QByteArray a, long from){ return lastIndexOf(new io.qt.core.QByteArrayView(a), from); } @io.qt.QtUninvokable public final long lastIndexOf(byte[] a, long from){ return lastIndexOf(new io.qt.core.QByteArrayView(a), from); } @io.qt.QtUninvokable public final long lastIndexOf(String a, long from){ return lastIndexOf(new io.qt.core.QByteArrayView(a), from); } @io.qt.QtUninvokable public final long lastIndexOf(java.nio.ByteBuffer a, long from){ return lastIndexOf(new io.qt.core.QByteArrayView(a), from); } @Override public QByteArrayView clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native QByteArrayView clone_native(long __this_nativeId); }