java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.internal.QtJambiAbstractMapObject<K,V>
io.qt.internal.QtJambiHashObject<K,V>
io.qt.core.QHash<K,V>
- All Implemented Interfaces:
QtObjectInterface
,Iterable<QPair<K,V>>
,Map<K,V>
public class QHash<K,V> extends QtJambiHashObject<K,V>
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description protected QMapIterator<K,V>
begin()
int
capacity()
void
clear()
boolean
contains(K key)
boolean
containsKey(Object key)
boolean
containsValue(Object value)
int
count()
int
count(K key)
protected QMapIterator<K,V>
end()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.QMapIterator<K,V>
find(K key)
V
get(Object key)
int
hashCode()
void
insert(K key, V value)
boolean
isEmpty()
K
key(V value)
K
key(V value, K defaultKey)
List<K>
keys()
List<K>
keys(V value)
V
put(K key, V value)
V
remove(Object key)
int
removeAll(Object key)
void
reserve(int size)
int
size()
V
take(K key)
List<K>
uniqueKeys()
Deprecated.void
unite(Map<? super K,? super V> other)
Deprecated.V
value(K key)
V
value(K key, V defaultValue)
List<V>
values()
List<V>
values(K key)
Deprecated.Methods inherited from class io.qt.internal.QtJambiAbstractMapObject
castKey, castValue, checkKey, checkValue, iterator, putAll, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Method Details
-
begin
- Specified by:
begin
in classQtJambiAbstractMapObject<K,V>
-
capacity
-
clear
-
contains
-
count
-
count
-
end
- Specified by:
end
in classQtJambiAbstractMapObject<K,V>
-
find
-
insert
-
isEmpty
-
key
-
key
-
keys
- Specified by:
keys
in classQtJambiAbstractMapObject<K,V>
-
keys
-
removeAll
-
reserve
-
size
-
take
-
uniqueKeys
Deprecated. -
unite
Deprecated. -
value
-
value
-
values
-
values
Deprecated. -
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. -
hashCode
-
containsKey
-
get
-
put
-
remove
-
containsValue
-