Here you can find the source of hash(final Object object)
public static String hash(final Object object)
//package com.java2s; public class Main { public static String hash(final Object object) { final int hash = object.hashCode(); return hash > 0 ? String.valueOf(hash) : "0" + Math.abs(hash); }// w ww.ja v a 2s. c o m }