java.lang.Object
io.qt.internal.NativeUtility.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's class QCborArray
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQCborArray
(QCborArray other) QCborArray
(QCborValue... args) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
append
(QCborValue value) final QCborValue
at
(long i) final void
clear()
clone()
final int
compare
(QCborArray other) int
compareTo
(QCborArray other) protected final QSequentialConstIterator<QCborValue>
protected final QSequentialConstIterator<QCborValue>
constEnd()
final boolean
contains
(QCborValue value) boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final QCborValue
first()
static QCborArray
fromJsonArray
(QJsonArray array) static QCborArray
fromStringList
(Collection<String> list) static QCborArray
fromVariantList
(Collection<? extends Object> list) int
hashCode()
final void
insert
(long i, QCborValue value) final boolean
isEmpty()
iterator()
final QCborValue
last()
final QCborArray
plus
(QCborValue v) final void
prepend
(QCborValue value) void
readFrom
(QDataStream arg__1) final void
removeAt
(long i) final void
final void
final void
set
(QCborArray other) final void
setValueAt
(long i, QCborValue value) final long
size()
final void
swap
(QCborArray other) final QCborValue
takeAt
(long i) final QCborValue
final QCborValue
takeLast()
final QCborValue
final QJsonArray
toString()
final QCborValue
value
(long i) 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
-
QCborArray
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
append
-
at
-
clear
-
compare
-
constBegin
-
constEnd
-
contains
-
first
-
insert
-
isEmpty
-
last
-
plus
-
writeTo
-
set
-
readFrom
-
setValueAt
-
value
-
prepend
-
removeAt
-
removeFirst
-
removeLast
-
size
-
swap
-
takeAt
-
takeFirst
-
takeLast
-
toCborValue
-
toJsonArray
-
toVariantList
-
fromJsonArray
-
fromStringList
-
fromVariantList
-
iterator
- Specified by:
iterator
in interfaceIterable<QCborValue>
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
compareTo
- Specified by:
compareTo
in interfaceComparable<QCborArray>
-
hashCode
-
toString
-
clone
-