Java Array Hash Code calculateHash(byte[] data)

Here you can find the source of calculateHash(byte[] data)

Description

calculate Hash

License

Apache License

Declaration

public static int calculateHash(byte[] data) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.util.Arrays;

public class Main {
    public static int calculateHash(byte[] data) {
        return Arrays.hashCode(data);
    }// www. j  av a  2 s  . c  om
}

Related

  1. arrayHashCode(Object array[])
  2. arrayHashCode(Object[] arr)
  3. arrayHashCode(Object[] arr)
  4. arrayHashCode(Object[] objects)
  5. byteArrayHashCode(final byte[] array)
  6. deepHash(Object[] t)
  7. deepHashCode(double[][] matrix)
  8. hashCode(byte[] bytes)
  9. hashCode(byte[] obj)