java.lang.Object
io.qt.internal.QtJambiObject
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
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) protected final QIterator<QJsonValue>
begin()
clone()
final boolean
contains
(QJsonValue element) final long
count()
protected final QIterator<QJsonValue>
end()
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final QJsonValue
first()
static QJsonArray
fromStringList
(Collection<String> list) static QJsonArray
fromVariantList
(Collection<Object> list) int
hashCode()
final void
insert
(long i, QJsonValue value) final boolean
isEmpty()
iterator()
final QJsonValue
last()
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
-
begin
-
contains
-
count
-
end
-
first
-
insert
-
isEmpty
-
last
-
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 native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-