Package javatapas.util
Class GetIteratorCount
java.lang.Object
javatapas.util.GetIteratorCount
public class GetIteratorCount extends Object
Get the number of iterations that are performed by fully exhausting an Iterator.
Published at https://www.javatapas.com/util/Java-Get-Iterator-Count.html
Javadoc at https://www.javatapas.com/docs/javatapas/util/GetIteratorCount.html
Published at https://www.javatapas.com/util/Java-Get-Iterator-Count.html
Javadoc at https://www.javatapas.com/docs/javatapas/util/GetIteratorCount.html
- Version:
- 2021-05-29
- Author:
- Kodiak Brown
-
Constructor Summary
Constructors Constructor Description GetIteratorCount()
-
Method Summary
Modifier and Type Method Description static int
getIteratorCount(Iterator iterator)
-
Constructor Details
-
GetIteratorCount
public GetIteratorCount()
-
-
Method Details
-
getIteratorCount
- Parameters:
iterator
- The Iterator to count.
-