java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.core.QJsonArray
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<QJsonValue>
Encapsulates a JSON array
Java wrapper for Qt's class QJsonArray
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQJsonArray
(QJsonArray other) QJsonArray
(QJsonValue... args) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
append
(QJsonValue value) final QJsonValue
at
(long i) clone()
protected final QSequentialConstIterator<QJsonValue>
protected final QSequentialConstIterator<QJsonValue>
constEnd()
final boolean
contains
(QJsonValue element) final long
count()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final QJsonValue
first()
static QJsonArray
fromStringList
(Collection<String> list) static QJsonArray
fromVariantList
(Collection<? extends Object> list) int
hashCode()
final void
insert
(long i, QJsonValue value) final boolean
isEmpty()
iterator()
final QJsonValue
last()
final QJsonArray
plus
(QJsonValue v) final void
prepend
(QJsonValue value) void
readFrom
(QDataStream arg__1) final void
removeAt
(long i) final void
final void
final void
replace
(long i, QJsonValue value) final long
size()
final void
swap
(QJsonArray other) final QJsonValue
takeAt
(long i) toList()
toString()
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
QJsonArray
public QJsonArray() -
QJsonArray
-
QJsonArray
-
QJsonArray
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
append
-
at
-
constBegin
-
constEnd
-
contains
-
count
-
erase
@QtUninvokable public final QSequentialConstIterator<QJsonValue> erase(QSequentialConstIterator<QJsonValue> it) -
first
-
insert
-
isEmpty
-
last
-
plus
-
writeTo
-
readFrom
-
prepend
-
removeAt
-
removeFirst
-
removeLast
-
replace
-
size
-
swap
-
takeAt
-
toList
-
fromStringList
-
fromVariantList
-
iterator
- Specified by:
iterator
in interfaceIterable<QJsonValue>
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-