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

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

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


/**
 * 

Encapsulates a JSON array

*

Java wrapper for Qt class QJsonArray

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

See QJsonArray::QJsonArray()

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

See QJsonArray::QJsonArray(QJsonArray)

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

See QJsonArray::QJsonArray(std::initializer_list<QJsonValue>)

*/ public QJsonArray(io.qt.core.QJsonValue ... args){ super((QPrivateConstructor)null); initialize_native(this, args); } private native static void initialize_native(QJsonArray instance, io.qt.core.QJsonValue ... args); /** *

See QJsonArray::append(QJsonValue)

*/ @io.qt.QtUninvokable public final void append(io.qt.core.QJsonValue value){ append_native_cref_QJsonValue(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(value)); } @io.qt.QtUninvokable private native void append_native_cref_QJsonValue(long __this__nativeId, long value); /** *

See QJsonArray::at(qsizetype)const

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

See QJsonArray::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 QJsonArray::contains(QJsonValue)const

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

See QJsonArray::count()const

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

See QJsonArray::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 QJsonArray::first()const

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

See QJsonArray::insert(qsizetype,QJsonValue)

*/ @io.qt.QtUninvokable public final void insert(long i, io.qt.core.QJsonValue value){ insert_native_qsizetype_cref_QJsonValue(QtJambi_LibraryUtilities.internal.nativeId(this), i, QtJambi_LibraryUtilities.internal.checkedNativeId(value)); } @io.qt.QtUninvokable private native void insert_native_qsizetype_cref_QJsonValue(long __this__nativeId, long i, long value); /** *

See QJsonArray::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 QJsonArray::last()const

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

See QJsonArray::operator<<(QDataStream&,QJsonArray)

*/ @io.qt.QtUninvokable public void writeTo(io.qt.core.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)); } @io.qt.QtUninvokable private native void writeTo_native_ref_QDataStream(long __this__nativeId, long arg__1); /** *

See QJsonArray::operator==(QJsonArray)const

*/ @io.qt.QtUninvokable private final boolean operator_equal(io.qt.core.QJsonArray other){ return operator_equal_native_cref_QJsonArray_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @io.qt.QtUninvokable private native boolean operator_equal_native_cref_QJsonArray_constfct(long __this__nativeId, long other); @io.qt.QtUninvokable public void readFrom(io.qt.core.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)); } @io.qt.QtUninvokable private native void readFrom_native_ref_QDataStream(long __this__nativeId, long arg__1); /** *

See QJsonArray::prepend(QJsonValue)

*/ @io.qt.QtUninvokable public final void prepend(io.qt.core.QJsonValue value){ prepend_native_cref_QJsonValue(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(value)); } @io.qt.QtUninvokable private native void prepend_native_cref_QJsonValue(long __this__nativeId, long value); /** *

See QJsonArray::removeAt(qsizetype)

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

See QJsonArray::removeFirst()

*/ @io.qt.QtUninvokable public final void removeFirst(){ removeFirst_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native void removeFirst_native(long __this__nativeId); /** *

See QJsonArray::removeLast()

*/ @io.qt.QtUninvokable public final void removeLast(){ removeLast_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native void removeLast_native(long __this__nativeId); /** *

See QJsonArray::replace(qsizetype,QJsonValue)

*/ @io.qt.QtUninvokable public final void replace(long i, io.qt.core.QJsonValue value){ replace_native_qsizetype_cref_QJsonValue(QtJambi_LibraryUtilities.internal.nativeId(this), i, QtJambi_LibraryUtilities.internal.checkedNativeId(value)); } @io.qt.QtUninvokable private native void replace_native_qsizetype_cref_QJsonValue(long __this__nativeId, long i, long value); /** *

See QJsonArray::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 QJsonArray::swap(QJsonArray&)

*/ @io.qt.QtUninvokable public final void swap(io.qt.core.QJsonArray other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QJsonArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @io.qt.QtUninvokable private native void swap_native_ref_QJsonArray(long __this__nativeId, long other); /** *

See QJsonArray::takeAt(qsizetype)

*/ @io.qt.QtUninvokable public final io.qt.core.QJsonValue takeAt(long i){ return takeAt_native_qsizetype(QtJambi_LibraryUtilities.internal.nativeId(this), i); } @io.qt.QtUninvokable private native io.qt.core.QJsonValue takeAt_native_qsizetype(long __this__nativeId, long i); /** *

See QJsonArray::toVariantList()const

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

See QJsonArray::fromStringList(QStringList)

*/ public native static io.qt.core.QJsonArray fromStringList(java.util.Collection list); /** *

See QJsonArray::fromVariantList(QVariantList)

*/ public native static io.qt.core.QJsonArray fromVariantList(java.util.Collection list); @Override public java.util.Iterator iterator() { return begin().iterator(); } /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QJsonArray(QPrivateConstructor p) { super(p); } @Override @io.qt.QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.core.QJsonArray) { return operator_equal((io.qt.core.QJsonArray) other); } return false; } @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); @Override @io.qt.QtUninvokable public String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private static native String toString_native(long __this_nativeId); @Override public QJsonArray clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native QJsonArray clone_native(long __this_nativeId); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy