Module qtjambi
Package io.qt.core

Class QSequentialConstIterator<T>

java.lang.Object
io.qt.QtObject
io.qt.core.QSequentialConstIterator<T>
Type Parameters:
T - value type
All Implemented Interfaces:
QtObjectInterface, Iterable<T>
Direct Known Subclasses:
QSequentialIterator

public class QSequentialConstIterator<T> extends QtObject implements Iterable<T>

Java-iterable wrapper for Qt's constant iterator types:

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<T> iterator()
      Returns a Java iterator between this and the container's end.
      Specified by:
      iterator in interface Iterable<T>
    • descendingIterator

      @QtUninvokable public final Iterator<T> descendingIterator()
      Returns a descending Java iterator between this and the container's end.
    • value

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