- compare(NewsStory, NewsStory) - Method in class LengthComparator
-
Overridden compare method that looks at the lengths of the news stories
in words.
- compare(NewsStory, NewsStory) - Method in class SourceComparator
-
Overridden compare method that looks at the sources of the news stories.
- compareTo(NewsMaker) - Method in class NewsMaker
-
The overridden compareTo method for news makers, which looks just at
name.
- compareTo(NewsStory) - Method in class NewsStory
-
Overridden compareTo
method to allow for sorting.
- contains(NewsMaker) - Method in class NewsMakerList
-
An accessor method to test whether the list already contains a news
maker.
- convertToOutputFormat(NewsStory, String) - Static method in class UserInterface
-
This method converts an individual story to the desired display format.
- createListOfNewsStoriesForNewsmaker(NewsMaker, String, String[]) - Static method in class UserInterface
-
This method takes a news maker and turns its list of news stories into a
String
formated for display to the user.