Module qtjambi
Package io.qt.core

Class QAssociativeConstIterator<K,V>

java.lang.Object
io.qt.QtObject
io.qt.internal.AbstractSequentialConstIterator<V>
io.qt.internal.AbstractAssociativeConstIterator<K,V>
io.qt.core.QAssociativeConstIterator<K,V>
All Implemented Interfaces:
QMapIterator<K,V>, QtObjectInterface, Iterable<QPair<K,V>>
Direct Known Subclasses:
QAssociativeIterator

public class QAssociativeConstIterator<K,V> extends io.qt.internal.AbstractAssociativeConstIterator<K,V> implements Iterable<QPair<K,V>>, QMapIterator<K,V>
  • Method Details

    • key

      @QtUninvokable protected final K key()
    • val

      @QtUninvokable protected final V val()
    • increment

      @QtUninvokable protected final void increment()
      Specified by:
      increment in class io.qt.internal.AbstractSequentialConstIterator<V>
    • decrement

      @QtUninvokable protected final void decrement()
      Specified by:
      decrement in class io.qt.internal.AbstractSequentialConstIterator<V>
    • equals

      @QtUninvokable public boolean equals(Object other)
      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.
      Overrides:
      equals in class QtObject
      Parameters:
      other - other object
      Returns:
      true if the native counterpart of the two objects are one and the same.
    • iterator

      @QtUninvokable public final Iterator<QPair<K,V>> iterator()
      Specified by:
      iterator in interface Iterable<K>
      Specified by:
      iterator in interface QMapIterator<K,V>
    • keyValuePair

      @QtUninvokable public final Optional<QPair<K,V>> keyValuePair()
      Specified by:
      keyValuePair in interface QMapIterator<K,V>
    • checkedValue

      @QtUninvokable protected final V checkedValue()
      Specified by:
      checkedValue in class io.qt.internal.AbstractSequentialConstIterator<V>
    • checkedKey

      @QtUninvokable protected final K checkedKey()
      Specified by:
      checkedKey in class io.qt.internal.AbstractAssociativeConstIterator<K,V>