List of usage examples for org.springframework.util ObjectUtils nullSafeHashCode
public static int nullSafeHashCode(@Nullable short[] array)
From source file:example.complete.Customer.java
@Override public int hashCode() { return ObjectUtils.nullSafeHashCode(this.id); }
From source file:org.spring.data.gemfire.app.beans.Gemstone.java
@Override public int hashCode() { int hashValue = 17; hashValue = 37 * hashValue + ObjectUtils.nullSafeHashCode(getId()); hashValue = 37 * hashValue + ObjectUtils.nullSafeHashCode(getName()); hashValue = 37 * hashValue + ObjectUtils.nullSafeHashCode(getType()); return hashValue; }
From source file:com.novation.eligibility.rest.spring.web.servlet.handler.RestError.java
@Override public int hashCode() { //noinspection ThrowableResultOfMethodCallIgnored return ObjectUtils.nullSafeHashCode(new Object[] { getStatus(), getCode(), getMessage(), getDeveloperMessage(), getMoreInfoUrl(), getThrowable() }); }
From source file:com.springsource.hq.plugin.tcserver.serverconfig.services.engine.ThreadDiagnostics.java
@Override public int hashCode() { return ObjectUtils.nullSafeHashCode(this.enabled) * 29 + ObjectUtils.nullSafeHashCode(this.history) * 29 + ObjectUtils.nullSafeHashCode(this.threshold) * 29; }
From source file:com.springsource.hq.plugin.tcserver.serverconfig.configuration.context.WebApplicationLogger.java
@Override public int hashCode() { return ObjectUtils.nullSafeHashCode(this.swallowOutput) * 29; }
From source file:org.devefx.httpmapper.http.HttpEntity.java
@Override public int hashCode() { return (ObjectUtils.nullSafeHashCode(this.headers) * 29 + ObjectUtils.nullSafeHashCode(this.body)); }
From source file:org.spring.data.gemfire.app.beans.PhoneNumber.java
@Override public int hashCode() { int hashValue = 17; hashValue = 37 * hashValue + ObjectUtils.nullSafeHashCode(getAreaCode()); hashValue = 37 * hashValue + ObjectUtils.nullSafeHashCode(getPrefix()); hashValue = 37 * hashValue + ObjectUtils.nullSafeHashCode(getSuffix()); hashValue = 37 * hashValue + ObjectUtils.nullSafeHashCode(getExtension()); return hashValue; }
From source file:com.springsource.hq.plugin.tcserver.serverconfig.resources.jdbc.DataSource.java
@Override public int hashCode() { return ObjectUtils.nullSafeHashCode(this.connection) * 29 + ObjectUtils.nullSafeHashCode(this.general) * 29; }
From source file:com.springsource.hq.plugin.tcserver.serverconfig.resources.jdbc.DbcpDataSource.java
@Override public int hashCode() { return ObjectUtils.nullSafeHashCode(this.connectionPool) * 29 + ObjectUtils.nullSafeHashCode(this.getGeneral()) * 29 + ObjectUtils.nullSafeHashCode(this.getConnection()) * 29; }
From source file:com.gemstone.gemfire.management.internal.cli.parser.GfshMethodTarget.java
@Override public int hashCode() { return ObjectUtils.nullSafeHashCode(new Object[] { method, target }); }