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
Version:
2021-05-29
Author:
Kodiak Brown
  • Constructor Details

    • GetIteratorCount

      public GetIteratorCount()
  • Method Details

    • getIteratorCount

      public static int getIteratorCount​(Iterator iterator)
      Parameters:
      iterator - The Iterator to count.