-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Karim Alibhai edited this page Oct 31, 2016
·
1 revision
Welcome to the term-project wiki!
Features needed:
- Add
- Edit
- Delete
- Search:
- class (Beaf, Chicken, Seefood, Vegie)
- ingredients
- category of the recipe (Main dish, starter, dessert appetizer, drink, sauce)
- type of food (Italian, Greek, Chinese, Colombian, etc)
- Have a "tags" list on each recipe. (tags should contain class, ingredients, category, and type)
-
ArrayList<String> tags
=>{"Italian", "Seafood", "MainDish"}
- have a matches method that checks if a tag exists:
boolean matches(String tag);
-
- Search queries with booleans:
- i.e. ((class=Seafood OR type=Italian) AND category=MainDish) AND (ingredient contains GreenPepper)