I have a hashtable with contains the a unique identifier as the key and an object as the value. I'm trying to go through all the values in the hashtable and print out the object's values, but Eclipse is telling me that the object's members cannot be resolved. My code looks like this:
Enumeration<myobj> items = myhashtable.elements(); while (items.hasMoreElements()) { System.out.println(items.X + " - " + items.Y.Z()); items.nextElement(); } X is a String and Y is another object within the main object, its method Z returns a string.