String's hashCode()
800344Jun 24 2009 — edited Jun 24 2009Dear all,
I have an unique id made of a string. I used hashCode() to covert it to int. However, I don't like an id have the negative value.
How can I convert the hashCode() I got to an unique positive number?
Regards.
Pengyou