hashcode in java example