Here you can find the source of hashJava64(byte[] byteList)
public static long hashJava64(byte[] byteList)
//package com.java2s; /**//from w w w. ja va 2 s . c om * Copyright 2014 Expedia, Inc. All rights reserved. * EXPEDIA PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ public class Main { private static final long BITMASK_POSITIVE_64 = ~0x8000000000000000L; public static long hashJava64(byte[] byteList) { if (byteList == null) { return 0; } long hash = 1; for (byte element : byteList) { hash = 31 * hash + element; } return hash & BITMASK_POSITIVE_64; } }