Modifier and Type | Method and Description |
---|---|
Contact[] |
Directory.list()
Lists out all the contacts in the directory
|
Contact |
Directory.search(Name name)
Searches for the contact based on the first name
|
Modifier and Type | Method and Description |
---|---|
void |
Directory.add(Contact contact)
Adds a new contact.
|