Code example for RequestConditionHolder

Methods: hashCode

0
	@Override 
	public int hashCode() { 
		return (this.patternsCondition.hashCode() * 31 +  // primary differentiation 
				this.methodsCondition.hashCode() + this.paramsCondition.hashCode() + 
				this.headersCondition.hashCode() + this.consumesCondition.hashCode() + 
				this.producesCondition.hashCode() + this.customConditionHolder.hashCode()); 
	} 
 
	@Override 
	public String toString() { 
		StringBuilder builder = new StringBuilder("{"); 
		builder.append(this.patternsCondition); 
		builder.append(",methods=").append(this.methodsCondition); 
		builder.append(",params=").append(this.paramsCondition); 
		builder.append(",headers=").append(this.headersCondition); 
		builder.append(",consumes=").append(this.consumesCondition); 
		builder.append(",produces=").append(this.producesCondition); 
		builder.append(",custom=").append(this.customConditionHolder); 
		builder.append('}'); 
		return builder.toString();