|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A collection of Contacts, with an optional name
Method Summary | |
---|---|
boolean |
add(Contact c)
Adds the specified contact to the ContactGroup |
boolean |
add(ContactGroup cg)
Adds the specified contact group to the ContactGroup |
boolean |
addAll(java.util.List list)
Adds the contents of the specified List to the ContactGroup |
Contact[] |
getContacts()
|
ContactGroup[] |
getGroups()
|
java.lang.String |
getName()
Accessor for the name |
void |
setName(java.lang.String name)
Mutator for the name |
int |
size()
|
Method Detail |
---|
java.lang.String getName()
void setName(java.lang.String name)
name
- the new nameboolean add(Contact c)
c
- The contact to add.
boolean add(ContactGroup cg)
cg
- The contact group to add.
boolean addAll(java.util.List list)
list
- the List to add the contents of
Contact[] getContacts()
ContactGroup[] getGroups()
int size()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |