java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.internal.QtJambiAbstractMultiMapObject<K,V>
io.qt.internal.QtJambiMultiMapObject<K,V>
io.qt.core.QMultiMap<K,V>
- All Implemented Interfaces:
QtObjectInterface
,Iterable<QPair<K,V>>
,Map<K,List<V>>
,NavigableMap<K,List<V>>
,SortedMap<K,List<V>>
public class QMultiMap<K,V> extends QtJambiMultiMapObject<K,V>
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description protected QMapIterator<K,V>
begin()
void
clear()
Comparator<K>
comparator()
boolean
contains(K key)
boolean
contains(K key, V value)
boolean
containsKey(Object key)
boolean
containsValue(Object value)
int
count()
int
count(K key)
int
count(K key, V value)
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)
QMapIterator<K,V>
find(K key, V value)
V
first()
K
firstKey()
List<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
last()
K
lastKey()
QMapIterator<K,V>
lowerBound(K key)
List<V>
put(K key, List<V> values)
List<V>
remove(Object key)
int
removeAll(Object key)
int
removeAll(K key, V value)
void
replaceOne(K key, V value)
int
size()
V
take(K key)
List<K>
uniqueKeys()
void
unite(Map<? super K,? extends Collection<? super V>> other)
QMapIterator<K,V>
upperBound(K key)
V
value(K key)
V
value(K key, V defaultValue)
Collection<List<V>>
values()
List<V>
values(K key)
Methods inherited from class io.qt.internal.QtJambiMultiMapObject
ceilingEntry, ceilingKey, descendingKeySet, descendingMap, entrySet, firstEntry, floorEntry, floorKey, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, subMap, subMap, tailMap, tailMap
Methods inherited from class io.qt.internal.QtJambiAbstractMultiMapObject
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, putAll, putIfAbsent, remove, replace, replace, replaceAll
-
Method Details
-
begin
- Specified by:
begin
in classQtJambiAbstractMultiMapObject<K,V>
-
clear
-
contains
-
count
-
count
-
end
- Specified by:
end
in classQtJambiAbstractMultiMapObject<K,V>
-
find
- Specified by:
find
in classQtJambiMultiMapObject<K,V>
-
first
-
firstKey
-
insert
-
isEmpty
-
key
-
key
-
keys
- Specified by:
keys
in classQtJambiAbstractMultiMapObject<K,V>
-
keys
-
last
-
lastKey
-
lowerBound
- Specified by:
lowerBound
in classQtJambiMultiMapObject<K,V>
-
removeAll
-
size
-
take
-
uniqueKeys
-
unite
-
upperBound
- Specified by:
upperBound
in classQtJambiMultiMapObject<K,V>
-
value
-
value
-
values
-
values
-
contains
-
count
-
find
-
removeAll
-
replaceOne
-
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. -
comparator
-
containsKey
-
get
-
put
-
remove
-
containsValue
-
hashCode
-