Module qtjambi
Package io.qt.core

Class QAssociativeConstIterator<Key,T>

java.lang.Object
io.qt.QtObject
io.qt.core.QAssociativeConstIterator<Key,T>
Type Parameters:
Key - key type
T - value type
All Implemented Interfaces:
QtObjectInterface, Iterable<QPair<Key,T>>
Direct Known Subclasses:
QAssociativeIterator

public class QAssociativeConstIterator<Key,T> extends QtObject implements Iterable<QPair<Key,T>>
See Also:
  • Method Details

    • equals

      @QtUninvokable public boolean equals(Object other)
      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

      @QtUninvokable public final Iterator<QPair<Key,T>> iterator()
      Returns a Java iterator between this and the container's end.
      Specified by:
      iterator in interface Iterable<Key>
    • keyValuePair

      @QtUninvokable public final Optional<QPair<Key,T>> keyValuePair()
      Returns the key value pair at iterator's position in the container or emptiness in case of end.
    • key

      @QtUninvokable public final Optional<Key> key()
      Returns the key at iterator's position in the container or emptiness in case of end.
    • value

      @QtUninvokable public final Optional<T> value()
      Returns the value at iterator's position in the container or emptiness in case of end.