List of usage examples for org.springframework.util ObjectUtils nullSafeHashCode
public static int nullSafeHashCode(@Nullable short[] array)
From source file:org.springframework.aop.aspectj.AspectJExpressionPointcut.java
@Override public int hashCode() { int hashCode = ObjectUtils.nullSafeHashCode(this.getExpression()); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode(this.pointcutDeclarationScope); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode(this.pointcutParameterNames); hashCode = 31 * hashCode + ObjectUtils.nullSafeHashCode(this.pointcutParameterTypes); return hashCode; }
From source file:org.springframework.aop.target.AbstractBeanFactoryBasedTargetSource.java
@Override public int hashCode() { int hashCode = getClass().hashCode(); hashCode = 13 * hashCode + ObjectUtils.nullSafeHashCode(this.beanFactory); hashCode = 13 * hashCode + ObjectUtils.nullSafeHashCode(this.targetBeanName); return hashCode; }
From source file:org.springframework.context.support.ApplicationListenerDetector.java
@Override public int hashCode() { return ObjectUtils.nullSafeHashCode(this.applicationContext); }
From source file:org.springframework.core.env.PropertySource.java
/** * Return a hash code derived from the {@code name} property * of this {@code PropertySource} object. *//*www. ja va2 s . c o m*/ @Override public int hashCode() { return ObjectUtils.nullSafeHashCode(this.name); }
From source file:org.springframework.jca.context.SpringContextResourceAdapter.java
@Override public int hashCode() { return ObjectUtils.nullSafeHashCode(getContextConfigLocation()); }