- compareTo(Contact) - Method in class test3.Contact
-
Compares this contact with another contact for order.
- compareTo(PhoneNumber) - Method in class test3.PhoneNumber
-
Compares two phone numbers for order.
- Contact - Class in test3
-
A class that represents a telephone contact.
- Contact(String, PhoneNumber) - Constructor for class test3.Contact
-
Initialize this contact to have the specified name and telephone number.
- Contact(Contact) - Constructor for class test3.Contact
-
Initialize this contact to have the same name and telephone number as
another contact.
- ContactDoesNotExistException - Exception in test3
-
- ContactDoesNotExistException() - Constructor for exception test3.ContactDoesNotExistException
-
Initializes a DuplicateContactException
with no
detail message.
- ContactDoesNotExistException(String) - Constructor for exception test3.ContactDoesNotExistException
-
Initializes a DuplicateContactException
with the
specified detail message.
- ContactSet - Class in test3
-
A class that represents a collection of contacts.
- ContactSet() - Constructor for class test3.ContactSet
-
Initializes this contact set to have a name.
- ContactSet(String) - Constructor for class test3.ContactSet
-
Initialize this contact set so that it has the given name
and zero contacts.
- ContactSet(ContactSet) - Constructor for class test3.ContactSet
-
Initialize this contact set by copying the name and contacts
from another contact set.