public interface Group extends Comparable<Group>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Group o)
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().
|
String getName()
boolean equals(Object o)
int hashCode()
int compareTo(Group o)
compareTo
in interface Comparable<Group>
o
- the object to be compared.Copyright © 2020 Atlassian. All rights reserved.