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:org.dawnsci.persistence.json.function.FunctionListBean.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(functions);
    result = prime * result + type.hashCode();
    return result;
}

From source file:edu.oregonstate.eecs.mcplan.domains.cosmic.TripBusSetAction.java

@Override
public int hashCode() {
    return getClass().hashCode() ^ Arrays.hashCode(bus);
}

From source file:org.killbill.billing.plugin.meter.timeline.chunks.TimeBytesAndSampleBytes.java

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

From source file:org.springframework.social.twitter.api.MentionEntity.java

@Override
public int hashCode() {
    int result = (int) (id ^ (id >>> 32));
    result = 31 * result + (screenName != null ? screenName.hashCode() : 0);
    result = 31 * result + (name != null ? name.hashCode() : 0);
    result = 31 * result + (indices != null ? Arrays.hashCode(indices) : 0);
    return result;
}

From source file:edu.oregonstate.eecs.mcplan.domains.cosmic.TripShuntSetAction.java

@Override
public int hashCode() {
    return getClass().hashCode() ^ Arrays.hashCode(shunts);
}

From source file:edu.oregonstate.eecs.mcplan.domains.cosmic.TripBranchSetAction.java

@Override
public int hashCode() {
    return getClass().hashCode() ^ Arrays.hashCode(branch);
}

From source file:eu.europa.esig.dss.RemoteDocument.java

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

From source file:yaphyre.core.math.Matrix.java

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

From source file:org.nuthatchery.pica.util.Signature.java

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

From source file:org.hibersap.mapping.model.ErrorHandling.java

@Override
public int hashCode() {
    int result = (throwExceptionOnError ? 1 : 0);
    result = 31 * result + (pathToReturnStructure != null ? pathToReturnStructure.hashCode() : 0);
    result = 31 * result + (errorMessageTypes != null ? Arrays.hashCode(errorMessageTypes) : 0);
    return result;
}