pub fn java_string_hash(s: &str) -> u32
Java-compatible String.hashCode(): a 32-bit, base-31 polynomial hash over UTF-16 code units. All identifiers this is used for are ASCII, so iterating chars is equivalent.
String.hashCode()
char