java.lang.Object
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's 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 TypeMethodDescriptionfinal void
clear()
clone()
final int
int
protected final QSequentialConstIterator<QPair<QCborValue,
QCborValue>> protected final QSequentialConstIterator<QPair<QCborValue,
QCborValue>> constEnd()
constFind
(long key) constFind
(QCborValue key) final boolean
contains
(long key) final boolean
contains
(QCborValue key) final boolean
final boolean
empty()
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.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 QList<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
-
clear
-
compare
-
constBegin
-
constEnd
-
constFind
@QtUninvokable public final QSequentialConstIterator<QPair<QCborValue,QCborValue>> constFind(QCborValue key) -
constFind
@QtUninvokable public final QSequentialConstIterator<QPair<QCborValue,QCborValue>> constFind(String key) -
constFind
@QtUninvokable public final QSequentialConstIterator<QPair<QCborValue,QCborValue>> constFind(long key) -
contains
-
contains
-
contains
-
empty
-
insert
-
insert
-
insert
-
insert
-
isEmpty
-
keys
-
writeTo
-
set
-
readFrom
-
setValue
-
setValue
-
setValue
-
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 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<QCborMap>
-
hashCode
-
toString
-
clone
-