title: how can i generate a unique int from a unique string?
body: <p>I have an object with a String that holds a unique id . 
  (such as "ocx7gf" or "67hfs8")
  I need to supply it an implementation of int hascode() which will be unique obviously.</p>
  
  <p>how do i cast a string to a unique int in the easiest/fastest way?</p>
  
  <p>10x.</p>
  
  <p>Edit - OK. I already know that String.hashcode is possible. But it is not recommended in any place. Actually' if any other method is not recommended - Should I use it or not if I have my object in a collection and I need the hashcode. should I concat it to another string to make it more successful? </p>