Repository files navigation
This quiz will measure your understanding of Collections:
collections
WordCounter
Food - Difficult
Curry
Pepper
Spice
Ginger
Description
The purpose of this class is to manage a mapping of String to Integer.
The class should be able to identify the number times a word has occurred in a given String array
A word is a series of characters delimited by spaces
Methods to Complete
Map<String, Integer> getWordCountMap()
Description
The purpose of this class is to manage a list of Spice object.
The class should be able to identify the number of specific spice-type applied to an instance of a food.
Methods to Complete
List<Spice> getAllSpices()
<SpiceType extends Class<? extends Spice>> Map<SpiceType, Integer> getSpiceCount()
void applySpice(Spice spice)
Description
The purpose of this class is to create a concrete implementation of a Spice
Methods to Complete
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.