TopBlend: Here is the first difference. There are 13 differences. is old. is new.

java.lang
Interface Iterable<T>

All Known Subinterfaces:
BeanContext , BeanContextServices , BlockingDeque BlockingQueue <E>, BlockingQueue <E>, Collection <E>, DataSet <T>, DataSetResolver <T>, Deque <E>, List <E>, NavigableSet <E>, Queue <E>, Set <E>, SortedSet <E>
All Known Implementing Classes:
AbstractCollection , AbstractList , AbstractQueue , AbstractSequentialList , AbstractSet , ArrayBlockingQueue , ArrayDeque , ArrayList , BatchUpdateException AttributeList , BeanContextServicesSupport , BeanContextSupport , ClientInfoException , ConcurrentLinkedQueue , ConcurrentSkipListSet , CopyOnWriteArrayList , CopyOnWriteArraySet , DataTruncation , DelayQueue , EnumSet , HashSet , JobStateReasons , LinkedBlockingDeque , LinkedBlockingQueue , LinkedHashSet , LinkedList , PriorityBlockingQueue , PriorityQueue , Service RoleList , SQLDataException RoleUnresolvedList , SQLException , SQLIntegrityConstraintViolationException , SQLInvalidAuthorizationSpecException , SQLNonTransientConnectionException , SQLNonTransientException , SQLSyntaxErrorException , SQLTimeoutException , SQLTransactionRollbackException , SQLTransientConnectionException , SQLTransientException , SQLWarning , Stack , SynchronousQueue , TreeSet , Vector

public interface Iterable<T>

Implementing this interface allows an object to be the target of the "foreach" statement.


Method Summary
  Iterator < T > iterator ()
          Returns an iterator over a set of elements of type T.
 

Method Detail

iterator


Iterator<T> iterator()
Returns an iterator over a set of elements of type T.

Returns:
an Iterator.