Lecture 15 The Iterable, Collection and Iterator interfaces
Channel: Lewis Baumstark
Date: 2021-02-05

1:10 review of data and wrapper classes
2:00 collection wrapper class
2:56 Roster collection wrapper class example
4:03 Why wrap a collection?
8:29 Java Collections Framework
9:57 Decoupling the Roster class (from ArrayList)
14:16 Making Roster Iterable
19:26 limitations of Iterable
20:28 the Collection interface
21:52 additional requirements of implementing Collection (beyond its interface specification)
23:25 implementing required Collection methods, guided by the API (e.g., when to throw certain required exceptions)
40:26 the ArrayRoster (Roster implemented with an array instead of a list)
43:22 the Iterator interface
45:12 implementing an Iterator as an inner class