List of usage examples for org.apache.commons.lang3 ObjectUtils hashCode
@Deprecated public static int hashCode(final Object obj)
Gets the hash code of an object returning zero when the object is null .
ObjectUtils.hashCode(null) = 0 ObjectUtils.hashCode(obj) = obj.hashCode()
From source file:com.alliander.osgp.shared.hibernate.CustomUserType.java
@Override public int hashCode(final Object x) { return ObjectUtils.hashCode(x); }
From source file:de.bund.bva.pliscommon.persistence.usertype.AbstractImmutableUserType.java
/** * {@inheritDoc} */ public int hashCode(Object x) throws HibernateException { return ObjectUtils.hashCode(x); }
From source file:io.github.karols.hocr4j.dom.HocrText.java
@Override public int hashCode() { return ObjectUtils.hashCode(text); }
From source file:com.qcadoo.report.api.pdf.layout.VerticalLayout.java
@Override public int hashCode() { return ObjectUtils.hashCode(contents); }
From source file:com.qcadoo.mes.deviationCausesReporting.DeviationsReportCriteria.java
@Override public int hashCode() { return ObjectUtils.hashCode(searchInterval); }
From source file:com.weibo.api.motan.rpc.URL.java
@Override public int hashCode() { int factor = 31; int rs = 1;/*w ww.j a v a 2 s.c o m*/ rs = factor * rs + ObjectUtils.hashCode(protocol); rs = factor * rs + ObjectUtils.hashCode(host); rs = factor * rs + ObjectUtils.hashCode(port); rs = factor * rs + ObjectUtils.hashCode(path); rs = factor * rs + ObjectUtils.hashCode(parameters); return rs; }
From source file:org.activiti.examples.variables.VariablesTest.java
@Override public int hashCode() { return ObjectUtils.hashCode(value); }
From source file:org.apache.asterix.lang.common.expression.FieldAccessor.java
@Override public int hashCode() { return 31 * super.hashCode() + ObjectUtils.hashCode(ident); }
From source file:org.apache.asterix.lang.common.expression.RecordConstructor.java
@Override public int hashCode() { return ObjectUtils.hashCode(fbList); }
From source file:org.apache.asterix.lang.common.expression.UnorderedListTypeDefinition.java
@Override public int hashCode() { return ObjectUtils.hashCode(itemTypeExpression); }