pub trait HashCode { fn hash_code(&self) -> i32; }
The hashCode function on all Java Objects
hashCode
Objects
Returns a Java hash code value for the object.
This follows the principles of the java.lang.Object.hashCode method.
java.lang.Object.hashCode