public native int hashCode();
из класса Object? Платформа значения не имеет. Просто стало интересно, а гугление толком ничего не дало.As much as is reasonably practical, the hashCode method defined by class Object does return distinct integers for distinct objects. (This is typically implemented by converting the internal address of the object into an integer, but this implementation technique is not required by the JavaTM programming language.)