public boolean hasNext() { if (index < bookShelf.getLength()) { return true; } else { return false; } }