- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<QJsonValue>
Encapsulates a JSON array
Java wrapper for Qt class QJsonArray
- Since:
- This class was introduced in Qt 5.0.
-
Constructor Summary
ConstructorDescriptionQJsonArray
(QJsonArray other) QJsonArray
(QJsonValue ... args) QJsonArray
(Object ... args) Overloaded constructor forQJsonArray::
QJsonArray(std::initializer_list<QJsonValue>) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
append
(boolean value) Overloaded function forappend(io.qt.core.QJsonValue)
.final void
append
(double value) Overloaded function forappend(io.qt.core.QJsonValue)
.final void
append
(int value) Overloaded function forappend(io.qt.core.QJsonValue)
.final void
append
(long value) Overloaded function forappend(io.qt.core.QJsonValue)
.final void
append
(QJsonArray value) Overloaded function forappend(io.qt.core.QJsonValue)
.final void
append
(QJsonObject value) Overloaded function forappend(io.qt.core.QJsonValue)
.final void
append
(QJsonValue value) final void
append
(QJsonValue.Type value) Overloaded function forappend(io.qt.core.QJsonValue)
.final void
Overloaded function forappend(io.qt.core.QJsonValue)
.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
(boolean element) Overloaded function forcontains(io.qt.core.QJsonValue)
.final boolean
contains
(double element) Overloaded function forcontains(io.qt.core.QJsonValue)
.final boolean
contains
(int element) Overloaded function forcontains(io.qt.core.QJsonValue)
.final boolean
contains
(long element) Overloaded function forcontains(io.qt.core.QJsonValue)
.final boolean
contains
(QJsonArray element) Overloaded function forcontains(io.qt.core.QJsonValue)
.final boolean
contains
(QJsonObject element) Overloaded function forcontains(io.qt.core.QJsonValue)
.final boolean
contains
(QJsonValue element) final boolean
contains
(QJsonValue.Type element) Overloaded function forcontains(io.qt.core.QJsonValue)
.final boolean
Overloaded function forcontains(io.qt.core.QJsonValue)
.final int
count()
final boolean
equals
(QJsonArray other) 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, boolean value) Overloaded function forinsert(int, io.qt.core.QJsonValue)
.final void
insert
(int i, double value) Overloaded function forinsert(int, io.qt.core.QJsonValue)
.final void
insert
(int i, int value) Overloaded function forinsert(int, io.qt.core.QJsonValue)
.final void
insert
(int i, long value) Overloaded function forinsert(int, io.qt.core.QJsonValue)
.final void
insert
(int i, QJsonArray value) Overloaded function forinsert(int, io.qt.core.QJsonValue)
.final void
insert
(int i, QJsonObject value) Overloaded function forinsert(int, io.qt.core.QJsonValue)
.final void
insert
(int i, QJsonValue value) final void
insert
(int i, QJsonValue.Type value) Overloaded function forinsert(int, io.qt.core.QJsonValue)
.final void
Overloaded function forinsert(int, io.qt.core.QJsonValue)
.final boolean
isEmpty()
iterator()
Returns an iterator for this iterable object.final QJsonValue
last()
final QJsonArray
plus
(boolean v) Overloaded function forplus(io.qt.core.QJsonValue)
.final QJsonArray
plus
(double v) Overloaded function forplus(io.qt.core.QJsonValue)
.final QJsonArray
plus
(int v) Overloaded function forplus(io.qt.core.QJsonValue)
.final QJsonArray
plus
(long v) Overloaded function forplus(io.qt.core.QJsonValue)
.final QJsonArray
plus
(QJsonArray v) Overloaded function forplus(io.qt.core.QJsonValue)
.final QJsonArray
plus
(QJsonObject v) Overloaded function forplus(io.qt.core.QJsonValue)
.final QJsonArray
plus
(QJsonValue v) final QJsonArray
Overloaded function forplus(io.qt.core.QJsonValue)
.final QJsonArray
Overloaded function forplus(io.qt.core.QJsonValue)
.final void
prepend
(boolean value) Overloaded function forprepend(io.qt.core.QJsonValue)
.final void
prepend
(double value) Overloaded function forprepend(io.qt.core.QJsonValue)
.final void
prepend
(int value) Overloaded function forprepend(io.qt.core.QJsonValue)
.final void
prepend
(long value) Overloaded function forprepend(io.qt.core.QJsonValue)
.final void
prepend
(QJsonArray value) Overloaded function forprepend(io.qt.core.QJsonValue)
.final void
prepend
(QJsonObject value) Overloaded function forprepend(io.qt.core.QJsonValue)
.final void
prepend
(QJsonValue value) final void
prepend
(QJsonValue.Type value) Overloaded function forprepend(io.qt.core.QJsonValue)
.final void
Overloaded function forprepend(io.qt.core.QJsonValue)
.void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QJsonArray&) final void
removeAt
(int i) final void
final void
final void
replace
(int i, boolean value) Overloaded function forreplace(int, io.qt.core.QJsonValue)
.final void
replace
(int i, double value) Overloaded function forreplace(int, io.qt.core.QJsonValue)
.final void
replace
(int i, int value) Overloaded function forreplace(int, io.qt.core.QJsonValue)
.final void
replace
(int i, long value) Overloaded function forreplace(int, io.qt.core.QJsonValue)
.final void
replace
(int i, QJsonArray value) Overloaded function forreplace(int, io.qt.core.QJsonValue)
.final void
replace
(int i, QJsonObject value) Overloaded function forreplace(int, io.qt.core.QJsonValue)
.final void
replace
(int i, QJsonValue value) final void
replace
(int i, QJsonValue.Type value) Overloaded function forreplace(int, io.qt.core.QJsonValue)
.final void
Overloaded function forreplace(int, io.qt.core.QJsonValue)
.final void
set
(int i, boolean value) Overloaded function forset(int, io.qt.core.QJsonValue)
.final void
set
(int i, double value) Overloaded function forset(int, io.qt.core.QJsonValue)
.final void
set
(int i, int value) Overloaded function forset(int, io.qt.core.QJsonValue)
.final void
set
(int i, long value) Overloaded function forset(int, io.qt.core.QJsonValue)
.final void
set
(int i, QJsonArray value) Overloaded function forset(int, io.qt.core.QJsonValue)
.final void
set
(int i, QJsonObject value) Overloaded function forset(int, io.qt.core.QJsonValue)
.final void
set
(int i, QJsonValue value) SeeQJsonArray::
operator[](int) final void
set
(int i, QJsonValue.Type value) Overloaded function forset(int, io.qt.core.QJsonValue)
.final void
Overloaded function forset(int, io.qt.core.QJsonValue)
.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
- Parameters:
other
-
-
QJsonArray
- Parameters:
args
-- Since:
- This function was introduced in Qt 5.4.
-
QJsonArray
Overloaded constructor for
QJsonArray::
QJsonArray(std::initializer_list<QJsonValue>)
-
-
Method Details
-
append
- Parameters:
value
-
-
at
- Parameters:
i
-- Returns:
-
constBegin
- Returns:
-
constEnd
- Returns:
-
contains
- Parameters:
element
-- Returns:
-
count
- Returns:
-
erase
@QtUninvokable public final QSequentialConstIterator<QJsonValue> erase(QSequentialConstIterator<QJsonValue> it) - Parameters:
it
-- Returns:
-
first
- Returns:
-
insert
- Parameters:
i
-value
-
-
isEmpty
- Returns:
-
last
- Returns:
-
plus
- Parameters:
v
-- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
writeTo
- Parameters:
arg__1
-- Since:
- This function was introduced in Qt 5.3.
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
readFrom
See
operator>>(QDataStream&,
QJsonArray&) - Parameters:
arg__1
-
-
get
- Parameters:
i
-- Returns:
-
set
See
QJsonArray::
operator[](int) - Parameters:
i
-value
-
-
prepend
- Parameters:
value
-
-
removeAt
- Parameters:
i
-
-
removeFirst
-
removeLast
-
replace
- Parameters:
i
-value
-
-
size
- Returns:
-
swap
- Parameters:
other
-- Since:
- This function was introduced in Qt 5.10.
-
takeAt
- Parameters:
i
-- Returns:
-
toList
- Returns:
-
fromStringList
- Parameters:
list
-- Returns:
-
fromVariantList
- Parameters:
list
-- Returns:
-
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.
-
append
Overloaded function for
append(io.qt.core.QJsonValue)
. -
append
Overloaded function for
append(io.qt.core.QJsonValue)
. -
append
Overloaded function for
append(io.qt.core.QJsonValue)
. -
append
Overloaded function for
append(io.qt.core.QJsonValue)
. -
append
Overloaded function for
append(io.qt.core.QJsonValue)
. -
append
Overloaded function for
append(io.qt.core.QJsonValue)
. -
append
Overloaded function for
append(io.qt.core.QJsonValue)
. -
append
Overloaded function for
append(io.qt.core.QJsonValue)
. -
contains
Overloaded function for
contains(io.qt.core.QJsonValue)
. -
contains
Overloaded function for
contains(io.qt.core.QJsonValue)
. -
contains
Overloaded function for
contains(io.qt.core.QJsonValue)
. -
contains
Overloaded function for
contains(io.qt.core.QJsonValue)
. -
contains
Overloaded function for
contains(io.qt.core.QJsonValue)
. -
contains
Overloaded function for
contains(io.qt.core.QJsonValue)
. -
contains
Overloaded function for
contains(io.qt.core.QJsonValue)
. -
contains
Overloaded function for
contains(io.qt.core.QJsonValue)
. -
insert
Overloaded function for
insert(int, io.qt.core.QJsonValue)
. -
insert
Overloaded function for
insert(int, io.qt.core.QJsonValue)
. -
insert
Overloaded function for
insert(int, io.qt.core.QJsonValue)
. -
insert
Overloaded function for
insert(int, io.qt.core.QJsonValue)
. -
insert
Overloaded function for
insert(int, io.qt.core.QJsonValue)
. -
insert
Overloaded function for
insert(int, io.qt.core.QJsonValue)
. -
insert
Overloaded function for
insert(int, io.qt.core.QJsonValue)
. -
insert
Overloaded function for
insert(int, io.qt.core.QJsonValue)
. -
plus
Overloaded function for
plus(io.qt.core.QJsonValue)
. -
plus
Overloaded function for
plus(io.qt.core.QJsonValue)
. -
plus
Overloaded function for
plus(io.qt.core.QJsonValue)
. -
plus
Overloaded function for
plus(io.qt.core.QJsonValue)
. -
plus
Overloaded function for
plus(io.qt.core.QJsonValue)
. -
plus
Overloaded function for
plus(io.qt.core.QJsonValue)
. -
plus
Overloaded function for
plus(io.qt.core.QJsonValue)
. -
plus
Overloaded function for
plus(io.qt.core.QJsonValue)
. -
set
Overloaded function for
set(int, io.qt.core.QJsonValue)
. -
set
Overloaded function for
set(int, io.qt.core.QJsonValue)
. -
set
Overloaded function for
set(int, io.qt.core.QJsonValue)
. -
set
Overloaded function for
set(int, io.qt.core.QJsonValue)
. -
set
Overloaded function for
set(int, io.qt.core.QJsonValue)
. -
set
Overloaded function for
set(int, io.qt.core.QJsonValue)
. -
set
Overloaded function for
set(int, io.qt.core.QJsonValue)
. -
set
Overloaded function for
set(int, io.qt.core.QJsonValue)
. -
prepend
Overloaded function for
prepend(io.qt.core.QJsonValue)
. -
prepend
Overloaded function for
prepend(io.qt.core.QJsonValue)
. -
prepend
Overloaded function for
prepend(io.qt.core.QJsonValue)
. -
prepend
Overloaded function for
prepend(io.qt.core.QJsonValue)
. -
prepend
Overloaded function for
prepend(io.qt.core.QJsonValue)
. -
prepend
Overloaded function for
prepend(io.qt.core.QJsonValue)
. -
prepend
Overloaded function for
prepend(io.qt.core.QJsonValue)
. -
prepend
Overloaded function for
prepend(io.qt.core.QJsonValue)
. -
replace
Overloaded function for
replace(int, io.qt.core.QJsonValue)
. -
replace
Overloaded function for
replace(int, io.qt.core.QJsonValue)
. -
replace
Overloaded function for
replace(int, io.qt.core.QJsonValue)
. -
replace
Overloaded function for
replace(int, io.qt.core.QJsonValue)
. -
replace
Overloaded function for
replace(int, io.qt.core.QJsonValue)
. -
replace
Overloaded function for
replace(int, io.qt.core.QJsonValue)
. -
replace
Overloaded function for
replace(int, io.qt.core.QJsonValue)
. -
replace
Overloaded function for
replace(int, io.qt.core.QJsonValue)
.
-