java.lang.Object | |
↳ | com.atlassian.crowd.embedded.api.GroupComparator |
Comparator for a Group.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GROUP_COMPARATOR |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Checks whether the two Group objects are equal according to the contract of the
Group interface. | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Checks whether the two Group objects are equal according to the contract of the Group
interface.
If you are implementing equals(Object)
then just write code like this:
public boolean equals(Object o)
{
return (o instanceof Group) && GroupComparator.equal(this, (Group) o);
}
group1 | First Group |
---|---|
group2 | Second Group |