Here you can find the source of hash(Object o)
public static int hash(Object o)
//package com.java2s; //License from project: Open Source License public class Main { public static int hash(Object o) { return o == null ? 0 : o.hashCode(); }/*from w ww . j a va 2s.c o m*/ }