Here you can find the source of getHashCode(final Object... pObjects)
public static int getHashCode(final Object... pObjects)
//package com.java2s; public class Main { public static int getHashCode(final byte... pBytes) { final int prime = 31; int result = 1; for (int i = 0; i < pBytes.length; i++) { result = prime * result + pBytes[i]; }/* w w w . j av a 2 s. c o m*/ return result; } public static int getHashCode(final Object... pObjects) { final int prime = 31; int result = 1; for (int i = 0; i < pObjects.length; i++) { final Object object = pObjects[i]; result = prime * result + ((object == null) ? 0 : object.hashCode()); } return result; } }