public class Group extends PrincipalImpl
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
This function returns true if the object passed matches the principal represented in this implementation
|
int |
hashCode()
Returns the hashcode for this Principal object
|
getName, toString
public Group(String name)
public boolean equals(Object other)
PrincipalImpl
equals
in interface Principal
equals
in class PrincipalImpl
other
- the Principal to compare with.public int hashCode()
PrincipalImpl
hashCode
in interface Principal
hashCode
in class PrincipalImpl
Copyright © 2019. All rights reserved.