List of usage examples for org.springframework.util ObjectUtils nullSafeHashCode
public static int nullSafeHashCode(@Nullable short[] array)
From source file:com.springsource.hq.plugin.tcserver.serverconfig.configuration.jvm.Environment.java
@Override public int hashCode() { return ObjectUtils.nullSafeHashCode(this.javaHome) * 29 + ObjectUtils.nullSafeHashCode(this.jvmOptions) * 29; }
From source file:com.springsource.hq.plugin.tcserver.serverconfig.resources.jdbc.General.java
@Override public int hashCode() { return ObjectUtils.nullSafeHashCode(this.jndiName) * 29; }
From source file:org.spring.data.gemfire.app.beans.User.java
@Override public int hashCode() { int hashValue = 17; hashValue = 37 * hashValue + ObjectUtils.nullSafeHashCode(getEmail()); hashValue = 37 * hashValue + ObjectUtils.nullSafeHashCode(getUsername()); return hashValue; }
From source file:com.springsource.hq.plugin.tcserver.serverconfig.configuration.general.ServerProperties.java
@Override public int hashCode() { return ObjectUtils.nullSafeHashCode(this.port) * 29 + ObjectUtils.nullSafeHashCode(this.shutdown) * 29; }
From source file:com.springsource.hq.plugin.tcserver.serverconfig.configuration.jvm.GarbageCollection.java
@Override public int hashCode() { return ObjectUtils.nullSafeHashCode(this.maxGCMinorPauseMillis) * 29 + ObjectUtils.nullSafeHashCode(this.maxGCPauseMillis) * 29; }
From source file:com.springsource.hq.plugin.tcserver.serverconfig.configuration.serverdefaults.ServerDefaults.java
@Override public int hashCode() { return ObjectUtils.nullSafeHashCode(this.jspDefaults) * 29 + ObjectUtils.nullSafeHashCode(this.staticDefaults) * 29; }
From source file:dk.teachus.backend.dao.hibernate.PasswordUserType.java
public int hashCode(Object x) throws HibernateException { return ObjectUtils.nullSafeHashCode(x); }
From source file:org.devefx.httpmapper.http.ResponseEntity.java
@Override public int hashCode() { return (super.hashCode() * 29 + ObjectUtils.nullSafeHashCode(this.statusCode)); }
From source file:org.spring.data.gemfire.app.beans.Address.java
@Override public int hashCode() { int hashValue = 17; hashValue = 37 * hashValue + ObjectUtils.nullSafeHashCode(getId()); hashValue = 37 * hashValue + ObjectUtils.nullSafeHashCode(getStreet1()); hashValue = 37 * hashValue + ObjectUtils.nullSafeHashCode(getStreet2()); hashValue = 37 * hashValue + ObjectUtils.nullSafeHashCode(getCity()); hashValue = 37 * hashValue + ObjectUtils.nullSafeHashCode(getState()); hashValue = 37 * hashValue + ObjectUtils.nullSafeHashCode(getZipCode()); return hashValue; }
From source file:com.springsource.hq.plugin.tcserver.serverconfig.configuration.context.StaticResourceCache.java
@Override public int hashCode() { return ObjectUtils.nullSafeHashCode(this.cacheMaxSize) * 29 + ObjectUtils.nullSafeHashCode(this.cacheTTL) * 29 + ObjectUtils.nullSafeHashCode(this.cachingAllowed) * 29; }