Code example for Map

Methods: equals

0
			return true; 
		if (!(obj instanceof ExtendedUaaAuthority))
			return false; 
 
		ExtendedUaaAuthority e = (ExtendedUaaAuthority) obj;
		if (e.equals(authority) && e.additionalInfo.equals(additionalInfo)) {
			return true; 
		} 
		else { 
			return false; 
		} 
	} 
 
	@Override 
	public int hashCode() { 
		return super.hashCode(); 
	} 
 
}