public static int hashcode(Object[] items) {
    if (items == null) {
      return 0;
    }
    int h = 1;
    int i = 0;
    while (i < items.length) {
      if (items[i] != null) {
        h = 31 * h + items[i].hashCode();
        i += 1;
      }
    }
    return h;
  }
Compute the hash code for the given items
@param items
@return
ambry-utils/src/main/java/com/github/ambry/utils/Utils.java