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 class QJsonArray
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
append
(QJsonValue value) final void
assign
(QJsonArray other) final QJsonValue
at
(int i) clone()
Creates and returns a copy of this object.protected final QSequentialConstIterator<QJsonValue>
protected final QSequentialConstIterator<QJsonValue>
constEnd()
final boolean
contains
(QJsonValue element) final int
count()
boolean
final QJsonValue
first()
static QJsonArray
fromStringList
(Collection<String> list) static QJsonArray
fromVariantList
(Collection<? extends Object> list) final QJsonValue
get
(int i) int
hashCode()
Returns the objects's hash code computed byqHash(QJsonArray)
.final void
insert
(int i, QJsonValue value) final boolean
isEmpty()
iterator()
Returns an iterator for this iterable object.final QJsonValue
last()
final QJsonArray
plus
(QJsonValue v) final void
prepend
(QJsonValue value) void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QJsonArray&) final void
removeAt
(int i) final void
final void
final void
replace
(int i, QJsonValue value) final void
set
(int i, QJsonValue value) SeeQJsonArray::
operator[](int) final int
size()
final void
swap
(QJsonArray other) final QJsonValue
takeAt
(int i) toList()
toString()
Seeoperator<<(QDebug,
QJsonArray) 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
-
-
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
See
operator>>(QDataStream&,
QJsonArray&) -
get
-
set
See
QJsonArray::
operator[](int) -
prepend
-
removeAt
-
removeFirst
-
removeLast
-
replace
-
size
-
swap
-
takeAt
-
toList
-
fromStringList
-
fromVariantList
-
iterator
Returns an iterator for this iterable object.- Specified by:
iterator
in interfaceIterable<QJsonValue>
- See Also:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QJsonArray)
. -
toString
See
operator<<(QDebug,
QJsonArray) -
clone
Creates and returns a copy of this object.
-