The NetBeans 8 Debugger Variables window has a Value column. The meaning of the column is pretty self explanatory for primitive types and Strings and Arrays, but for Objects, the column displays a "#" character followed by a (typically 4 digit) number. The value is apparently related to the identity of the object because multiple variables referencing the same object have the same number displayed, and objects constructed consecutively seem to have sequential numbers. The number is not object.hashCode(). Can anyone tell me more about the number being shown? I am specifically wondering if that number can be accessed as a method or property of the object similar to hashCode(). If not, then is there a way to access that number programmatically?
My explanation of the column's meaning corresponds to the last section of https://ui.netbeans.org/docs/hi/debugger3.4/variables/index.html#specific which is entitled "Object Rows". It states that "Object rows are used to show references to class instances. Each reference can be thought of as having the number of a class instance (from some table of instances in the VM), so this number is shown in the value column (prefixed by "#") for the reference."
I am trying to get a better explanation of what the article simply calls "some table of instances in the VM".
Thanks