List of usage examples for org.springframework.util ObjectUtils nullSafeHashCode
public static int nullSafeHashCode(@Nullable short[] array)
From source file:com.acuityph.commons.util.Compute.java
/** * Merely a delegate to {@link ObjectUtils#nullSafeHashCode(Object[])}. * * @param args/*from www . j ava2 s . com*/ * the fields to include in hashcode computation * @return the hashcode * @see ObjectUtils#nullSafeHashCode(Object[]) */ public static int hashCode(final Object... args) { return ObjectUtils.nullSafeHashCode(args); }
From source file:com.frank.search.solr.core.query.SimpleField.java
@Override public int hashCode() { return ObjectUtils.nullSafeHashCode(this.name); }
From source file:org.ayfaar.app.spring.handler.BusinessError.java
@Override public int hashCode() { return ObjectUtils.nullSafeHashCode(new Object[] { getMessage(), getDebug() }); }
From source file:org.pivotal.customer.versonix.support.PaxReserveType.java
@Override public int hashCode() { int hashValue = 17; hashValue = 37 * hashValue + ObjectUtils.nullSafeHashCode(this.id); return hashValue; }
From source file:org.spring.beans.TestBean.java
@Override public int hashCode() { int hashValue = 17; hashValue = 37 * hashValue + ObjectUtils.nullSafeHashCode(this.getName()); return hashValue; }
From source file:ch.rasc.wampspring.security.WampMessageTypeMatcher.java
@Override public int hashCode() { return ObjectUtils.nullSafeHashCode(this.typeToMatch); }
From source file:lodsve.core.condition.ConditionOutcome.java
@Override public int hashCode() { return ObjectUtils.hashCode(this.match) * 31 + ObjectUtils.nullSafeHashCode(this.message); }
From source file:com.springsource.hq.plugin.tcserver.serverconfig.configuration.jvm.General.java
@Override public int hashCode() { return ObjectUtils.nullSafeHashCode(this.server) * 29; }
From source file:com.springsource.hq.plugin.tcserver.serverconfig.configuration.jvm.Advanced.java
@Override public int hashCode() { return ObjectUtils.nullSafeHashCode(this.cliArgs) * 29; }
From source file:example.app.model.Customer.java
@Override public int hashCode() { int hashValue = super.hashCode(); hashValue = 37 * hashValue + ObjectUtils.nullSafeHashCode(getAccountNumber()); return hashValue; }