Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private Book getBook(String title) {
- ListIterator<Book> iter = this.books.listIterator();
- while(iter.hasNext()) {
- Book next = iter.next();
- if(next.title.equals(title)) {
- return next;
- }
- }
- return null;
- }
Add Comment
Please, Sign In to add comment