public class ImmutableGroup extends Object implements Group, Serializable
Note: This object does not allow null name.
| Constructor and Description |
|---|
ImmutableGroup(String name) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Group other)
CompareTo must be compatible with the equals() and hashCode() methods
|
boolean |
equals(Object o)
Implementations must ensure equality based on case-insensitive getName().
|
String |
getName() |
int |
hashCode()
Implementations must produce a hash-code based on case-insensitive getName().
|
public String getName()
public int compareTo(Group other)
GroupcompareTo in interface GroupcompareTo in interface Comparable<Group>other - the object to be compared.public boolean equals(Object o)
GroupCopyright © 2024 Atlassian. All rights reserved.