[hash-code] same to java hashCode