java.lang.Object
io.qt.QtObject
io.qt.core.QCborArray
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QCborArray>
,Iterable<QCborValue>
public class QCborArray
extends QtObject
implements Comparable<QCborArray>, Iterable<QCborValue>, Cloneable
Used to hold an array of CBOR elements
Java wrapper for Qt class QCborArray
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
append
(QCborValue value) final void
assign
(QCborArray other) final QCborValue
at
(long i) final void
clear()
clone()
Creates and returns a copy of this object.final int
compare
(QCborArray other) int
compareTo
(QCborArray other) protected final QSequentialConstIterator<QCborValue>
protected final QSequentialConstIterator<QCborValue>
constEnd()
final boolean
contains
(QCborValue value) boolean
final QCborValue
first()
static QCborArray
fromJsonArray
(QJsonArray array) static QCborArray
fromStringList
(Collection<String> list) static QCborArray
fromVariantList
(Collection<? extends Object> list) final QCborValue
get
(long i) int
hashCode()
Returns the objects's hash code computed byqHash(QCborArray)
.final void
insert
(long i, QCborValue value) final boolean
isEmpty()
iterator()
Returns an iterator for this iterable object.final QCborValue
last()
final QCborArray
plus
(QCborValue v) final void
prepend
(QCborValue value) void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QCborArray&) final void
removeAt
(long i) final void
final void
final void
set
(long i, QCborValue value) SeeQCborArray::
operator[](qsizetype) final void
set
(QCborArray other) Deprecated.final void
setValueAt
(long i, QCborValue value) Delegate forset(long, io.qt.core.QCborValue)
.final long
size()
final void
swap
(QCborArray other) final QCborValue
takeAt
(long i) final QCborValue
final QCborValue
takeLast()
final QCborValue
final QJsonArray
toString()
Seeoperator<<(QDebug,
QCborArray) final QCborValue
value
(long i) Delegate forget(long)
.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
-
QCborArray
public QCborArray() -
QCborArray
-
QCborArray
-
-
Method Details
-
append
-
at
-
clear
-
compare
-
constBegin
-
constEnd
-
contains
-
first
-
insert
-
isEmpty
-
last
-
plus
-
writeTo
-
set
Deprecated.Useassign(io.qt.core.QCborArray)
instead. -
assign
-
readFrom
See
operator>>(QDataStream&,
QCborArray&) -
value
Delegate for
get(long)
. -
get
-
setValueAt
Delegate for
set(long, io.qt.core.QCborValue)
. -
set
See
QCborArray::
operator[](qsizetype) -
prepend
-
removeAt
-
removeFirst
-
removeLast
-
size
-
swap
-
takeAt
-
takeFirst
-
takeLast
-
toCborValue
-
toJsonArray
-
toVariantList
-
fromJsonArray
-
fromStringList
-
fromVariantList
-
iterator
Returns an iterator for this iterable object.- Specified by:
iterator
in interfaceIterable<QCborValue>
- See Also:
-
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QCborArray>
-
hashCode
Returns the objects's hash code computed byqHash(QCborArray)
. -
toString
See
operator<<(QDebug,
QCborArray) -
clone
Creates and returns a copy of this object.
-
assign(io.qt.core.QCborArray)
instead.