hashtable not updated, question for experts!
I have a Hashtahble which holds a pait <key, MyObject>, the I get the object via the get Method provided by the hastable class as follows:
MyObject obj=(MyObject)myHashTable.get(key);
then i modify the properties of my object:
obj.updateProperties();
and I have a thread that prints the properties of my object, so I get it in the same way via the GET method, but when I print the properties, they have not been updated.
MyObject obj=(MyObject)myHashTable.get(key);
obj.printProperties();
If I debug it I cans see how the value of the properties are updated within the "updateProperties" method in the class MyObject.
Anybody knows if when I use GET from the hashtable classe it returns a reference or a new instance of an object stored in the hashtable?
Many thanks in advance.

