@Override public List<Book> getByPrice(double price) throws IOException { // TODO Auto-generated method stub List<Book> bookList = new ArrayList<Book>(); for (Book b : getCache()) { if (b.getPrice() <= price) bookList.add(b); } return bookList; }