| 3 | import java.util.List; |
| 4 | |
| 5 | public class LibraryAggregator implements Aggregator{ |
| 6 | |
| 7 | private List<Book> booksList; |
| 8 | |
| 9 | public LibraryAggregator(List<Book> bookList){ |
| 10 | this.booksList = bookList; |
| 11 | } |
| 12 | @Override |
| 13 | public Iterator createIterator() { |
| 14 | return new BookIterator(booksList); |
| 15 | } |
| 16 | } |
nothing calls this directly
no outgoing calls
no test coverage detected