public class Group
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Group.Id
Enumeration of group identifiers.
|
Modifier and Type | Field and Description |
---|---|
static Group |
HOME
The pre-defined home group.
|
static Group |
WORK
The pre-defined work group.
|
Constructor and Description |
---|
Group(Group.Id id) |
Group(java.lang.String extendedName) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
public static final Group WORK
public static final Group HOME
public Group(java.lang.String extendedName)
extendedName
- a non-standard group namepublic Group(Group.Id id)
id
- the group typepublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public final java.lang.String toString()
toString
in class java.lang.Object