java.lang.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 void
assign
(QJsonArray other) final QJsonValue
at
(int i) clone()
protected final QSequentialConstIterator<QJsonValue>
protected final QSequentialConstIterator<QJsonValue>
constEnd()
final boolean
contains
(QJsonValue element) final int
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) final QJsonValue
get
(int i) int
hashCode()
final void
insert
(int 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
(int i) final void
final void
final void
replace
(int i, QJsonValue value) final void
set
(int i, QJsonValue value) final int
size()
final void
swap
(QJsonArray other) final QJsonValue
takeAt
(int 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
-
assign
-
readFrom
-
get
-
set
-
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
-