Interface Iterable

  • All Implemented Interfaces:
    java.lang.Iterable

    
    public interface Iterable<T>
     implements Iterable<T>
                        

    Utility class to allow use of Iterable feature in JDK 1.5+

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Iterator<T> iterator() Returns an iterator over a set of elements of type T.
      • Methods inherited from class java.lang.Iterable

        forEach, spliterator
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • iterator

         abstract Iterator<T> iterator()

        Returns an iterator over a set of elements of type T.

        Returns:

        an Iterator.