Example usage for java.util Arrays hashCode

List of usage examples for java.util Arrays hashCode

Introduction

In this page you can find the example usage for java.util Arrays hashCode.

Prototype

public static int hashCode(Object a[]) 

Source Link

Document

Returns a hash code based on the contents of the specified array.

Usage

From source file:libepg.util.bytearray.ByteDataBlock.java

@Override
public int hashCode() {
    int hash = 5;
    hash = 89 * hash + Arrays.hashCode(this.data);
    return hash;
}

From source file:baggage.hypertoolkit.security.CipherText.java

@Override
public int hashCode() {
    return bytes != null ? Arrays.hashCode(bytes) : 0;
}

From source file:piuk.blockchain.android.Hash.java

@Override
public int hashCode() {
    return Arrays.hashCode(hash);
}

From source file:com.linkedin.pinot.common.utils.primitive.ByteArray.java

@Override
public int hashCode() {
    return Arrays.hashCode(_bytes);
}

From source file:org.mule.transport.amqp.AmqpMessage.java

@Override
public int hashCode() {
    final int prime = 31;
    int result = 1;
    result = prime * result + Arrays.hashCode(body);
    result = prime * result + ((consumerTag == null) ? 0 : consumerTag.hashCode());
    result = prime * result + ((envelope == null) ? 0 : HashCodeBuilder.reflectionHashCode(envelope));
    result = prime * result + ((properties == null) ? 0 : HashCodeBuilder.reflectionHashCode(properties));
    return result;
}

From source file:com.alfaariss.oa.authentication.remote.saml2.idp.storage.config.SourceID.java

/**
 * The {@link java.lang.Object#hashCode()} of the SourceID.
 * @see java.lang.Object#hashCode()/*from w  w  w  .ja  v  a  2s . com*/
 */
public int hashCode() {
    return Arrays.hashCode(_baSourceID);
}

From source file:net.sourceforge.pmd.lang.apex.ast.ApexQualifiedName.java

@Override
public int hashCode() {
    int result = nameSpace.hashCode();
    result = 31 * result + Arrays.hashCode(classes);
    result = 31 * result + (operation != null ? operation.hashCode() : 0);
    return result;
}

From source file:com.opengamma.analytics.financial.montecarlo.DecisionSchedule.java

@Override
public int hashCode() {
    final int prime = 31;
    int result = 1;
    result = prime * result + Arrays.hashCode(_decisionTime);
    result = prime * result + Arrays.hashCode(_impactAmount);
    result = prime * result + Arrays.hashCode(_impactTime);
    return result;
}

From source file:org.seasar.karrta.jcr.node.ResourceNode.java

@Override
public int hashCode() {
    final int prime = 31;
    int result = 1;
    result = prime * result + Arrays.hashCode(data);
    result = prime * result + ((lastModified == null) ? 0 : lastModified.hashCode());
    result = prime * result + ((mimeType == null) ? 0 : mimeType.hashCode());
    return result;
}

From source file:se.kodapan.io.http.wayback.WaybackHeader.java

@Override
public int hashCode() {
    int result = name != null ? name.hashCode() : 0;
    result = 31 * result + (value != null ? value.hashCode() : 0);
    result = 31 * result + (elements != null ? Arrays.hashCode(elements) : 0);
    return result;
}