Class CountingIterator<T>
- java.lang.Object
-
- ru.vyarus.yaml.updater.parse.comments.util.CountingIterator<T>
-
- Type Parameters:
T- value type
- All Implemented Interfaces:
java.util.Iterator<T>
public class CountingIterator<T> extends java.lang.Object implements java.util.Iterator<T>Iterator, remembering processed items count.- Since:
- 23.04.2021
-
-
Constructor Summary
Constructors Constructor Description CountingIterator(java.util.Iterator<T> it)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPosition()booleanhasNext()Tnext()
-
-
-
Constructor Detail
-
CountingIterator
public CountingIterator(java.util.Iterator<T> it)
-
-