record
method that counts everything as a wrong guess.
String
s. Try this Practice-It problem.
WordCount
and Friends
programs from lecture. Remember that a map stores a relationship between a pair (known as a key to value relationship). Look at the example from the writeup that shows an initial dictionary of 9 words being split into different word families.Map
on the Java API.
Map
?
Set
s that are in my Map
?
get
on the Map
first. Then call methods on that. Review the Friends example from lecture.
SortedSet<E>
?
SortedSet
is a variation of the Set
interface that requires that the values in the set are to appear in increasing order.