public static int hash(Object object){
  return object == null ? 0 : object.hashCode();
}

public static int hash ( Object object ) { return object == null ? 0 : object . hashCode ( ) ; }
returns a hashcode for the specified object .
