java.lang.Object
io.qt.internal.QtJambiObject
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
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) protected final QIterator<QCborValue>
begin()
final void
clear()
clone()
final int
compare
(QCborArray other) int
compareTo
(QCborArray other) final boolean
contains
(QCborValue value) protected final QIterator<QCborValue>
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 QCborValue
first()
static QCborArray
fromJsonArray
(QJsonArray array) static QCborArray
fromStringList
(Collection<String> list) static QCborArray
fromVariantList
(Collection<Object> list) int
hashCode()
final void
insert
(long i, QCborValue value) final boolean
isEmpty()
iterator()
final QCborValue
last()
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
setValue
(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
-
begin
-
clear
-
compare
-
contains
-
end
-
first
-
insert
-
isEmpty
-
last
-
writeTo
-
set
-
readFrom
-
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 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. -
compareTo
- Specified by:
compareTo
in interfaceComparable<QCborArray>
-
hashCode
-
setValue
-
toString
-
clone
-