Class IteratingChecker.AbstractIteratorWithProgress<T>

    • Constructor Detail

      • AbstractIteratorWithProgress

        public AbstractIteratorWithProgress​(int initialSize)
    • Method Detail

      • next

        public final T next()
        Specified by:
        next in interface Iterator<T>
      • nextItemInternal

        public abstract jetbrains.mps.baseLanguage.tuples.runtime.Tuples._2<T,​Integer> nextItemInternal()
      • remainingSize

        public final int remainingSize()
        Specified by:
        remainingSize in interface IteratingChecker.IteratorWithProgress<T>
        Returns:
        size of remaining part of iterating sequence measured in parrots (for list iterator it is size of remaining part of the list)
      • remove

        public void remove()
        Specified by:
        remove in interface Iterator<T>