Using the Iterable Interface in Java

preview_player
Показать описание
0:09 - Overview of the Iterable interface
0:36 - Iterable interface methods
1:02 - Example of using an Iterable object - using the Iterator returned by iterator()
2:06 - Example of using an Iterable object - using the Iterable object in a for-each loop
2:43 - Introduction to the code example - 2 ArrayLists filled with random numbers
2:55 - Opening the declaration of the ArrayList to verify it implements the Iterable interface
3:44 - Using the Iterators from the ArrayLists
Рекомендации по теме
Комментарии
Автор

very helpful video and super clear explanation; thank you!

catcen
Автор

What is line 29 doing? creating objects? first time I've seen it done like that

hotbx