title: Is it possible to use hashCode as a content unique ID?
body: <p>I need to compare two large strings. Rather than using an equals method like that, is there a way like a hashCode or something which generates a unique id for String?
  That is because my String is very large. Also, I need distinct content unique Id. Is that possible to use <a href="https://www.tutorialspoint.com/java/java_string_hashcode.htm" rel="nofollow noreferrer">hashCode</a> in String for my purpose.</p>