Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<NewspaperStory> |
NewspaperStoryList.newspaperStories
The list of newspaper stories.
|
Modifier and Type | Method and Description |
---|---|
NewspaperStory |
NewspaperStoryList.get(int index)
An accessor for getting a story from the list based on its position
(index) in the list.
|
Modifier and Type | Method and Description |
---|---|
void |
NewspaperStoryList.add(NewspaperStory newspaperStory)
The mutator for adding a newspaper story to the list.
|
void |
NewsMaker.addNewspaperStory(NewspaperStory newspaperStory)
The mutator that adds a newspaper story to a news maker's list of
stories.
|
private static java.lang.String |
UserInterface.convertToOutputFormat(NewspaperStory newspaperStory)
This method converts an individual story to the desired display format.
|