List of usage examples for java.util Arrays hashCode
public static int hashCode(Object a[])
From source file:com.google.nigori.common.Revision.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(revision); return result; }
From source file:com.jivesoftware.os.upena.amza.shared.RowIndexValue.java
@Override public int hashCode() { int hash = 5; hash = 97 * hash + (int) (this.timestamp ^ (this.timestamp >>> 32)); hash = 97 * hash + (this.tombstoned ? 1 : 0); hash = 97 * hash + Arrays.hashCode(this.value); return hash;//from w ww .j a va2s . c om }
From source file:org.codelibs.fess.dict.seunjeon.SeunjeonItem.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(inputs); return result; }
From source file:at.ac.tuwien.dsg.cloud.utilities.messaging.lightweight.rabbitMq.RabbitMqMessage.java
@Override public int hashCode() { int hash = super.hashCode(); hash = 37 * hash + Arrays.hashCode(this.content); return hash;/*from w w w .j a v a 2 s. c om*/ }
From source file:com.dal.vv.type.AbstractValue.java
@Override public int hashCode() { int hash = 7; hash = 83 * hash + Arrays.hashCode(this.value); return hash; }
From source file:org.fourthline.cling.model.types.DLNACaps.java
@Override public int hashCode() { return Arrays.hashCode(caps); }
From source file:uk.ac.diamond.scisoft.analysis.io.SliceObject.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((axes == null) ? 0 : axes.hashCode()); result = prime * result + Arrays.hashCode(fullShape); result = prime * result + (isRange ? 1231 : 1237); result = prime * result + ((name == null) ? 0 : name.hashCode()); result = prime * result + ((path == null) ? 0 : path.hashCode()); result = prime * result + ((shapeMessage == null) ? 0 : shapeMessage.hashCode()); result = prime * result + Arrays.hashCode(sliceStart); result = prime * result + Arrays.hashCode(sliceStep); result = prime * result + Arrays.hashCode(sliceStop); result = prime * result + Arrays.hashCode(slicedShape); result = prime * result + x;//from w w w. j a va 2 s . com result = prime * result + y; return result; }
From source file:buildcraft.builders.blueprints.BlueprintId.java
@Override public int hashCode() { return Arrays.hashCode(ArrayUtils.addAll(uniqueId, name.getBytes())); }
From source file:com.enonic.cms.core.portal.instruction.CreateAttachmentUrlInstruction.java
@Override public int hashCode() { int result = nativeLinkKey != null ? nativeLinkKey.hashCode() : 0; result = 31 * result + (params != null ? Arrays.hashCode(params) : 0); result = 31 * result + (requestedMenuItemKey != null ? requestedMenuItemKey.hashCode() : 0); return result; }
From source file:org.diorite.config.MethodSignature.java
public MethodSignature(Method method) { this.name = method.getName(); this.arguments = method.getParameterTypes(); this.returnType = method.getReturnType(); this.hashCode = Objects.hash(this.name, this.returnType) + Arrays.hashCode(this.arguments); }