Skip to content

Instantly share code, notes, and snippets.

View magouyaware's full-sized avatar

Justin Anderson magouyaware

View GitHub Profile
import java.util.*;
public class Library
{
public List<String> filterBooks(HashMap<String, Boolean> library, IBookFilter bookFilter)
{
List<String> filteredBooks = new ArrayList<String>();
for (Map.Entry<String, Boolean> entry : library.entrySet())
{