List of usage examples for java.util Arrays hashCode
public static int hashCode(Object a[])
From source file:com.openlattice.mail.EmailRequest.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((bcc == null) ? 0 : bcc.hashCode()); result = prime * result + ((cc == null) ? 0 : cc.hashCode()); result = prime * result + ((from == null) ? 0 : from.hashCode()); result = prime * result + Arrays.hashCode(to); return result; }
From source file:net.eusashead.spring.gaecache.GaeCacheKey.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(hashes); return result; }
From source file:com.evolveum.midpoint.web.component.search.SearchValue.java
@Override public int hashCode() { return Arrays.hashCode(new Object[] { value, label }); }
From source file:com.haulmont.chile.core.model.MetaPropertyPath.java
@Override public int hashCode() { int result = metaClass.hashCode(); result = 31 * result + Arrays.hashCode(metaProperties); return result; }
From source file:org.echocat.jomon.resources.RotatingDomainResourceRequestUriGenerator.java
@Nonnull protected String hostNumberValueFor(@Nonnull Resource resource) throws IOException { final int hashCode = Arrays.hashCode(resource.getMd5()); final int normalizedHashCode = hashCode >= 0 ? hashCode : hashCode * -1; return Integer.toString((normalizedHashCode % _hostCount) + 1); }
From source file:edu.oregonstate.eecs.mcplan.domains.cosmic.ShedLoadAction.java
@Override public int hashCode() { return getClass().hashCode() + 3 * (Arrays.hashCode(shunts) + 5 * (Arrays.hashCode(shunts))); }
From source file:com.bgh.myopeninvoice.db.model.AttachmentEntity.java
@Override public int hashCode() { int result = attachmentId != null ? attachmentId.hashCode() : 0; result = 31 * result + (invoiceId != null ? invoiceId.hashCode() : 0); result = 31 * result + Arrays.hashCode(content); result = 31 * result + (filename != null ? filename.hashCode() : 0); return result; }
From source file:org.faster.opm.ResourceCriteria.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + (attributeFilterValues == null ? 0 : attributeFilterValues.hashCode()); result = prime * result + (dynamicPropertyParams == null ? 0 : dynamicPropertyParams.hashCode()); result = prime * result + (propertyFilterType == null ? 0 : propertyFilterType.hashCode()); result = prime * result + Arrays.hashCode(propertyFilterValues); result = prime * result + (resourceFilterParams == null ? 0 : resourceFilterParams.hashCode()); result = prime * result//w ww . j a va 2s . c o m + (resourceFilterValueDelimiter == null ? 0 : resourceFilterValueDelimiter.hashCode()); result = prime * result + (resourceType == null ? 0 : resourceType.hashCode()); return result; }
From source file:web.org.perfmon4j.restdatasource.data.Field.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(aggregationMethods); result = prime * result + ((defaultAggregationMethod == null) ? 0 : defaultAggregationMethod.hashCode()); result = prime * result + ((name == null) ? 0 : name.hashCode()); result = prime * result + (primary ? 1231 : 1237); return result; }
From source file:com.evolveum.midpoint.web.component.breadcrumbs.BreadcrumbPageClass.java
@Override public int hashCode() { return Arrays.hashCode(new Object[] { page, parameters }); }