public final class ContactGroup extends Object implements Comparable<ContactGroup>
This class is conditionally thread-safe.
| Constructor and Description |
|---|
ContactGroup(String name,
String fullName,
ContactGroup parentGroup) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ContactGroup o) |
boolean |
equals(Object o) |
Collection<Contact> |
getContacts()
Gets the contacts in this group.
|
String |
getFullName()
Gets the full name of the group.
|
Collection<ContactGroup> |
getGroups()
Gets the nested sub-groups of this group.
|
String |
getName()
Gets the name of the group.
|
ContactGroup |
getParentGroup()
Gets the parent group.
|
int |
hashCode() |
String |
toString() |
public ContactGroup(String name, String fullName, ContactGroup parentGroup)
public final String getName()
public final String getFullName()
public final Collection<ContactGroup> getGroups()
public final Collection<Contact> getContacts()
public final ContactGroup getParentGroup()
public final int compareTo(ContactGroup o)
compareTo in interface Comparable<ContactGroup>Copyright © 2014–2015 XMPP.rocks. All rights reserved.