FrequencyCounter Methods |
The FrequencyCounter type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | MainTest |
Reads in a command-line integer and sequence of words from
standard input and prints out a word (whose length exceeds
the threshold) that occurs most frequently to standard output.
It also prints out the number of words whose length exceeds
the threshold and the number of distinct such words. |