Package jetbrains.mps.checkers
Class IteratingChecker.AbstractIteratorWithProgress<T>
- java.lang.Object
 - 
- jetbrains.mps.checkers.IteratingChecker.AbstractIteratorWithProgress<T>
 
 
- 
- All Implemented Interfaces:
 Iterator<T>,IteratingChecker.IteratorWithProgress<T>
- Direct Known Subclasses:
 IteratingChecker.CollectionIteratorWithProgress
- Enclosing class:
 - IteratingChecker<O,P,I extends IssueKindReportItem>
 
public abstract static class IteratingChecker.AbstractIteratorWithProgress<T> extends Object implements IteratingChecker.IteratorWithProgress<T>
 
- 
- 
Constructor Summary
Constructors Constructor Description AbstractIteratorWithProgress(int initialSize) 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Tnext()jetbrains.mps.baseLanguage.tuples.runtime.Tuples._2<T,Integer>nextItem()abstract jetbrains.mps.baseLanguage.tuples.runtime.Tuples._2<T,Integer>nextItemInternal()intremainingSize()voidremove()- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext 
 - 
 
 - 
 
- 
- 
Method Detail
- 
nextItem
public final jetbrains.mps.baseLanguage.tuples.runtime.Tuples._2<T,Integer> nextItem()
- Specified by:
 nextItemin interfaceIteratingChecker.IteratorWithProgress<T>- Returns:
 - value on which remainingSize was decreased
 
 
- 
nextItemInternal
public abstract jetbrains.mps.baseLanguage.tuples.runtime.Tuples._2<T,Integer> nextItemInternal()
 
- 
remainingSize
public final int remainingSize()
- Specified by:
 remainingSizein interfaceIteratingChecker.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)
 
 
 - 
 
 -