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
(long 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 long
count()
boolean
final QJsonValue
first()
static QJsonArray
fromStringList
(Collection<String> list) static QJsonArray
fromVariantList
(Collection<? extends Object> list) final QJsonValue
get
(long i) int
hashCode()
Returns the objects's hash code computed byqHash(QJsonArray)
.final void
insert
(long 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
(long i) final void
final void
final void
replace
(long i, QJsonValue value) final void
set
(long i, QJsonValue value) SeeQJsonArray::
operator[](qsizetype) final long
size()
final void
swap
(QJsonArray other) final QJsonValue
takeAt
(long 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[](qsizetype) -
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.
-