|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.jhu.cs.oose.group3.intelligentbook.model.ContactGroup
edu.jhu.cs.oose.group3.intelligentbook.model.AutomaticGroup
edu.jhu.cs.oose.group3.intelligentbook.model.EverybodyGroup
public class EverybodyGroup
A group in which everybody (every valid contact) is a member
Constructor Summary | |
---|---|
EverybodyGroup()
Constructs everybody group with group named "Everybody" |
|
EverybodyGroup(java.lang.String groupName)
Constructs everybody group with the specified group name |
Method Summary | |
---|---|
java.util.Set<Contact> |
getAllContacts()
Get all contacts in the group |
boolean |
hasContact(Contact c)
Get whether or not the specified contact is in the group |
Methods inherited from class edu.jhu.cs.oose.group3.intelligentbook.model.AutomaticGroup |
---|
getBasedGroupKeys, setBasedGroupKeys |
Methods inherited from class edu.jhu.cs.oose.group3.intelligentbook.model.ContactGroup |
---|
compareTo, getGroupId, getGroupName, isEnumerated, setGroupName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EverybodyGroup()
public EverybodyGroup(java.lang.String groupName)
groupName
- group nameMethod Detail |
---|
public java.util.Set<Contact> getAllContacts()
ContactGroup
getAllContacts
in class ContactGroup
public boolean hasContact(Contact c)
ContactGroup
hasContact
in class ContactGroup
c
- the contact
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |