com.atlassian.crowd.embedded.impl
Class ImmutableGroup
java.lang.Object
com.atlassian.crowd.embedded.impl.ImmutableGroup
- All Implemented Interfaces:
- Group, Serializable, Comparable<Group>
public class ImmutableGroup
- extends Object
- implements Group, Serializable
A general purpose immutable implementation of the Group interface.
Note: This object does not allow null name.
- See Also:
- Serialized Form
ImmutableGroup
public ImmutableGroup(@Nonnull
String name)
getName
public String getName()
- Specified by:
getName in interface Group
compareTo
public int compareTo(Group other)
- Specified by:
compareTo in interface Group- Specified by:
compareTo in interface Comparable<Group>
equals
public boolean equals(Object o)
- Specified by:
equals in interface Group- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface Group- Overrides:
hashCode in class Object
Copyright © 2014 Atlassian. All Rights Reserved.