A G M N

A

addName() - Method in class NameList
Add another name to the list at random
ArrayListSample - class ArrayListSample.
This class is a simple example of using an ArrayList.
ArrayListSample() - Constructor for class ArrayListSample
This constructor creates and initializes an ArrayList of Strings.

G

getName(int) - Method in class NameList
retrieve the name at a particular index

M

main(String[]) - Static method in class Namer
The main method does all the work (along with NameList).

N

NameList - class NameList.
This class is a simple example of creating, initializing, and using an ArrayList.
NameList(int) - Constructor for class NameList
The NameList class manages an ArrayList of names.
Namer - class Namer.
Namer creates a list of names and prints them out using NameList This class is based on the class of the same name presented in example set ex15 from the previous lecture.
Namer() - Constructor for class Namer
 

A G M N