java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QCborMap
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QCborMap>
,Iterable<QPair<QCborValue,
QCborValue>>
public class QCborMap
extends QtObject
implements Comparable<QCborMap>, Iterable<QPair<QCborValue,QCborValue>>, Cloneable
Used to hold an associative container representable in CBOR
Java wrapper for Qt class QCborMap
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQCborMap()
QCborMap
(QPair<? extends QCborValue, ? extends QCborValue>... args) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionprotected final QIterator<QPair<QCborValue,
QCborValue>> begin()
final void
clear()
clone()
final int
int
final QIterator<QPair<QCborValue,
QCborValue>> constFind
(QCborValue key) final boolean
contains
(long key) final boolean
contains
(QCborValue key) final boolean
final boolean
empty()
protected final QIterator<QPair<QCborValue,
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 QIterator<QPair<QCborValue,
QCborValue>> find
(long key) final QIterator<QPair<QCborValue,
QCborValue>> find
(QCborValue key) final QIterator<QPair<QCborValue,
QCborValue>> static QCborMap
static QCborMap
fromVariantHash
(Map<String, ? extends Object> hash) static QCborMap
fromVariantMap
(Map<String, ? extends Object> map) int
hashCode()
final QCborMap
insert
(long key, QCborValue value_) final QCborMap
insert
(QCborValue key, QCborValue value_) final QCborMap
insert
(QPair<? extends QCborValue, ? extends QCborValue> v) final QCborMap
insert
(String key, QCborValue value_) final boolean
isEmpty()
iterator()
final QVector<QCborValue>
keys()
void
readFrom
(QDataStream arg__1) final void
remove
(long key) final void
remove
(QCborValue key) final void
final void
final void
setValue
(long key, QCborValue value) final void
setValue
(QCborValue key, QCborValue value) final void
setValue
(String key, QCborValue value) final long
size()
final void
final QCborValue
take
(long key) final QCborValue
take
(QCborValue key) final QCborValue
final QCborValue
final QJsonObject
toString()
final QCborValue
value
(long key) final QCborValue
value
(QCborValue key) final QCborValue
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
-
QCborMap
public QCborMap() -
QCborMap
-
QCborMap
-
QCborMap
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
begin
-
clear
-
compare
-
constFind
-
contains
-
contains
-
contains
-
empty
-
end
-
find
-
find
-
find
-
insert
-
insert
-
insert
-
insert
-
isEmpty
-
keys
-
writeTo
-
set
-
readFrom
-
remove
-
remove
-
remove
-
size
-
swap
-
take
-
take
-
take
-
toCborValue
-
toJsonObject
-
toVariantHash
-
toVariantMap
-
value
-
value
-
value
-
fromJsonObject
-
fromVariantHash
-
fromVariantMap
-
iterator
- Specified by:
iterator
in interfaceIterable<QPair<QCborValue,
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<QCborMap>
-
hashCode
-
setValue
-
setValue
-
setValue
-
toString
-
clone
-