Interface Iterator<T>


public interface Iterator<T>
Iterator is used to iterate sequentially over aggregate objects without exposing the internal collection used
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
  • Method Details

    • hasNext

      boolean hasNext()
    • next

      T next()