List of usage examples for java.util Arrays hashCode
public static int hashCode(Object a[])
From source file:org.broadinstitute.sting.utils.Haplotype.java
@Override public int hashCode() { return Arrays.hashCode(bases); }
From source file:com.thoughtworks.go.i18n.LocalizedKeyValueMessage.java
@Override public int hashCode() { int result = key.hashCode(); result = 31 * result + (args != null ? Arrays.hashCode(args) : 0); return result; }
From source file:org.opendaylight.controller.sal.packet.address.EthernetAddress.java
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + Arrays.hashCode(macAddress); return result; }
From source file:com.gs.jrpip.client.AuthenticatedUrl.java
@Override public int hashCode() { int result = this.url == null ? 0 : this.url.hashCode(); result = 29 * result + (this.credentials == null ? 0 : this.credentials.hashCode()); result = 29 * result + Arrays.hashCode(this.cookies); return result; }
From source file:org.dawnsci.persistence.json.function.FunctionBean.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((name == null) ? 0 : name.hashCode()); result = prime * result + Arrays.hashCode(parameters); result = prime * result + type.hashCode(); return result; }
From source file:org.adminmap.core.ubuntu.NetworkConfiguration.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((broadcastAddress == null) ? 0 : broadcastAddress.hashCode()); result = prime * result + ((defaultGateway == null) ? 0 : defaultGateway.hashCode()); result = prime * result + ((ipAddress == null) ? 0 : ipAddress.hashCode()); result = prime * result + Arrays.hashCode(nameservers); result = prime * result + ((subnetMask == null) ? 0 : subnetMask.hashCode()); return result; }
From source file:org.apache.sling.validation.impl.model.ValidationModelImpl.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(applicablePaths); result = prime * result + ((children == null) ? 0 : children.hashCode()); result = prime * result + ((resourceProperties == null) ? 0 : resourceProperties.hashCode()); result = prime * result + ((validatedResourceType == null) ? 0 : validatedResourceType.hashCode()); return result; }
From source file:edu.oregonstate.eecs.mcplan.domains.yahtzee2.KeepAction.java
@Override public int hashCode() { return 5 * Arrays.hashCode(keepers); }
From source file:com.opengamma.analytics.financial.model.interestrate.curve.YieldAndDiscountAddZeroSpreadCurve.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(_curves); long temp;// w w w .j av a 2s . c o m temp = Double.doubleToLongBits(_sign); result = prime * result + (int) (temp ^ (temp >>> 32)); return result; }
From source file:edu.oregonstate.eecs.mcplan.domains.advising.TakeCourseAction.java
@Override public int hashCode() { return 3 + 5 * Arrays.hashCode(courses); }