java.lang.Object
io.qt.QtObject
io.qt.core.QAssociativeConstIterator<Key,T>
- Type Parameters:
Key
- key typeT
- value type
- All Implemented Interfaces:
QtObjectInterface
,Iterable<QPair<Key,
T>>
- Direct Known Subclasses:
QAssociativeIterator
Java-iterable wrapper for Qt's constant iterator types:
- See Also:
-
QMap.constBegin()
QMap.constEnd()
QMap.find(Object)
QMap.lowerBound(Object)
QMap.upperBound(Object)
QHash.constBegin()
QHash.constEnd()
QHash.find(Object)
QMultiMap.constBegin()
QMultiMap.constEnd()
QMultiMap.find(Object)
QMultiMap.find(Object, Object)
QMultiMap.lowerBound(Object)
QMultiMap.upperBound(Object)
QMultiHash.constBegin()
QMultiHash.constEnd()
QMultiHash.find(Object)
iterator()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compares this iterator with other object.iterator()
Returns a Java iterator between this and the container's end.key()
Returns the key at iterator's position in the container or emptiness in case ofend
.Returns the key value pair at iterator's position in the container or emptiness in case ofend
.value()
Returns the value at iterator's position in the container or emptiness in case ofend
.Methods inherited from class io.qt.QtObject
dispose, isDisposed
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
equals
Compares this iterator with other object.- Parameters:
other
- other object- Returns:
- true if the native counterpart of the two objects are one and the same.
-
iterator
Returns a Java iterator between this and the container's end. -
keyValuePair
Returns the key value pair at iterator's position in the container or emptiness in case ofend
. -
key
Returns the key at iterator's position in the container or emptiness in case ofend
. -
value
Returns the value at iterator's position in the container or emptiness in case ofend
.
-