I've a dictionary in java:
protected Dictionary<String, Object> objects;
Now I want to get the keys of the dictionary, so that I can get the value of the key with get() in a for loop:
for (final String key : this.objects) {
final Object value = this.objects.get(key);
But this doesn't work. :( Any idea?
Thx Thomas
PS: I need the key & the value both in a variable.