List of usage examples for java.lang Object hashCode
@HotSpotIntrinsicCandidate public native int hashCode();
From source file:org.apache.tinkerpop.gremlin.process.traversal.step.map.GraphStep.java
@Override public int hashCode() { int result = super.hashCode() ^ this.returnClass.hashCode(); for (final Object id : this.ids) { result ^= id.hashCode(); }/*from www . jav a2 s .c om*/ return result; }
From source file:org.vulpe.model.entity.types.EntityType.java
public int hashCode(final Object obj) { return obj.hashCode(); }
From source file:de.flashpixx.rrd_antlr4.antlr.CGrammarGroup.java
@Override public final boolean equals(final Object p_object) { return (p_object != null) && (p_object instanceof IGrammarGroup) && (this.hashCode() == p_object.hashCode()); }
From source file:com.gh.bmd.jrt.android.v4.core.LoaderInvocation.java
private static int recursiveHashCode(@Nullable final Object object) { if (object == null) { return 0; }// w w w .j a v a 2 s.c om if (object.getClass().isArray()) { int hashCode = 0; final int length = Array.getLength(object); for (int i = 0; i < length; i++) { hashCode = 31 * hashCode + recursiveHashCode(Array.get(object, i)); } return hashCode; } return object.hashCode(); }
From source file:com.thesett.util.hibernate.JsonUserType.java
/** {@inheritDoc} */ public int hashCode(Object x) throws HibernateException { return (null == x) ? 0 : x.hashCode(); }
From source file:io.lightlink.dao.mapping.MappingEntry.java
@Override public int hashCode() { int result = className != null ? className.hashCode() : 0; result = 31 * result + (usedProperties != null ? usedProperties.hashCode() : 0); try {//from w w w. ja va 2 s.c o m if (usedProperties != null) for (String property : usedProperties) { Object p = PropertyUtils.getProperty(object, property); result = 31 * result + (p != null ? p.hashCode() : 0); } } catch (Exception e) { LOG.error(e.toString(), e); throw new RuntimeException(e); } return result; }
From source file:eu.java.pg.jsonb.types.JSONBUserType.java
@Override public int hashCode(Object x) throws HibernateException { assert (x != null); return x.hashCode(); }
From source file:org.theospi.portfolio.presentation.model.impl.HibernatePresentationProperties.java
public int hashCode(Object o) throws HibernateException { // TODO Auto-generated method stub return o.hashCode(); }
From source file:org.geomajas.plugin.deskmanager.domain.types.XmlSerialisationType.java
public int hashCode(Object x) { if (x == null) { return 0; }//from w ww . j av a 2 s . com return x.hashCode(); }
From source file:org.intelligentsia.utility.jpa.usertype.JSONUserType.java
@Override public int hashCode(final Object arg0) throws HibernateException { return arg0.hashCode(); }