Code example for Set

Methods: hashCode

0
		return (this.advice.equals(otherAdvisor.advice) && this.interfaces.equals(otherAdvisor.interfaces));
	} 
 
	@Override 
	public int hashCode() { 
		return this.advice.hashCode() * 13 + this.interfaces.hashCode();
	} 
 
	@Override 
	public String toString() {
		return ClassUtils.getShortName(getClass()) + ": advice [" + this.advice + "]; interfaces " +
				ClassUtils.classNamesToString(this.interfaces);
	} 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java