I have Book and BookList classes. BookList is something like this:
Book
BookList
public class BookList { private final List<
To be more specific about how to "implement the Iterable interface":
Iterable
public class BookList implements Iterable { private final List bList = new ArrayList(); ... @Override public Iterator iterator() { return bList.iterator(); } }